When the device is restarted, my appWidgets are all broken. In my WidgetProvider class i have implemented only the onRecieve method, since i’m using a ConfigureActivity to create the widget. What method should I override on the WidgetProvider for my widget to be updted properly when the device is restarted?
When the device is restarted, my appWidgets are all broken. In my WidgetProvider class
Share
When the device reboots, all the desktop widgets are rebuilt via the
onUpdatemethod in theWidgetProviderclass. Just implement this method to recreate your widget as shown here.