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

Rojer is a programmer by profession, but he likes to research new things and is also interested in writing. Devdeeds is his blog, where he 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 *