Chats - WhatsApp Direct Chat without saving number

Android Activity Cycle

Activity Lifecycle in Android with Demo App

 

Android Activity Life Cycle Methods

In general, activity lifecycle has seven callback methods:

  1. onCreate()
  2. onStart()
  3. onResume()
  4. onPause()
  5. onStop()
  6. onRestart()
  7. onDestroy()

The Activity class provides a number of callbacks that allow the activity to know that a state has changed: that the system is creating, stopping, or resuming an activity, or destroying the process in which the activity resides.

Post a Comment

Previous Post Next Post