Activities are placed in the form of backstack.Whenever, an activity is displayed its object is first created in memory.
- onCreate() : state when object of an activity is created by Android system.
- onStart() : Activity is visible to user but user can’t interact.
- onResume() : When object of Activity is visible and user can interact through GUI.
- onPause() : When Object of activity is visible but user can’t interact.
- onStop() : Object of activity is not visible and user can’t interact with it.
- onDestroy() : Object of activity is destroyed.
