Monday, 26 January 2015

Life Cycle of a Widget in Android.

The life cycle of a widget has the following phases :

  1. Widget definition.
  2. Widget instance creation.
  3. onUpdate() (when the time interval expires).
  4. Responses to clicks (on the widget view on the home screen).
  5. Widget deletion (from the home screen).
  6. Uninstallation.

No comments:

Post a Comment