I'm developing an app widget. The phone I'm using is on Android 5.1. I perform some initial configuration of the widget in the onUpdate function, setting click intents and whatnot.
This works. However, after performing memory-intensive operations on my phone, like loading videos, the widget seems to get reloaded, i.e. the initial configuration including the click intent disappears. The onUpdate callback doesn't get triggered. Clicking the widget has no effect. Where can I do the configuration so that it will occur even if the OS decides to reload the widget, or at least receive a callback that the widget has been reloaded? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To unsubscribe from this group and stop receiving emails from it, send an email to android-developers+unsubscr...@googlegroups.com. To post to this group, send email to android-developers@googlegroups.com. Visit this group at https://groups.google.com/group/android-developers. To view this discussion on the web visit https://groups.google.com/d/msgid/android-developers/29481f15-bdb9-4888-b2af-d7a81c384785%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.