Skip to content

Latest commit

 

History

11 Commits

Folders and files

NameName
Last commit message
Last commit date
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Activity Life Cycle

To Visible State :

On Activity starting for the first time - onCreate > onStart > onResume

To Partially visible state :

  • On Dialog Activity open - onPause

  • On Dialog Activity dismiss - onRestart

To Invisible state :

  • On screen off - onPause > onStop

  • On minimising Activity - onPause > onStop

    On reopening a minimised Activity - onRestart > onStart > onResume

  • On opening other activity through Intent - onPause > onStop

    On moving back to previous activity - onRestart > onStart > onResume

To Destroyed state :

  • On back button pressed - onPause > onStop > onDestroy

  • On finish - onPause > onStop > onDestroy

[ABCS of Android](Link http://abcsofandroid.blogspot.in/2015/11/activity-life-cycle.html)

About

No description, website, or topics provided.

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages