Skip to content Skip to sidebar Skip to footer

Android Life Cycle Method

Hi What are the android life cycle method executed when an activity is started from another activity and also the method that should be executed in corresponds to home button click

Solution 1:

Android Activity lifecycle. OnCreate is called on the new activity, onPause on the old one.

You can't capture the home button press, or do anything with it, but onUserLeaveHint is called as an fyi.

Post a Comment for "Android Life Cycle Method"