Android

Android Activity LifeCycle Explained

Activity is one of the instances of an android application and we can create activities in android application. Each has it’s own life cycle and callbacks. Lifecycle has been managed by android operating system. An android application existing either in one of the following state of lifecycle.

  • Create
  • Start – UI is visible now
  • Pause – UI is Partially visible
  • Stop – UI is Hidden
  • Destroy

Callback functions in activity class

  • onCreate
  • onStart
  • onPause
  • onStop
  • onDestroy
About author

Geethu is a teacher by profession, but she likes to research new things and is also interested in writing. Devdeeds is her blog, where she writes all the blog posts related to technology, gadgets, mobile apps, games, and related content.

Leave a Reply

Your email address will not be published. Required fields are marked *