- context
- The Android.Content.Context in which this receiver is running.
Called in response to the AppWidgetManager.ActionAppwidgetEnabled broadcast when the a AppWidget for this provider is instantiated. Override this method to implement your own AppWidget functionality.
When the last AppWidget for this provider is deleted, AppWidgetManager.ActionAppwidgetDisabled is sent by the AppWidget manager, and AppWidgetProvider.OnDisabled(Android.Content.Context) is called. If after that, an AppWidget for this provider is created again, onEnabled() will be called again.