Activity LifeCycle
It can be manage by implementing call back method.Callback method can be OnCreate, OnStart, OnResume, OnPause, OnStop, OnDestrory.
An Activity can have essentially 3 stages :
- Resume
- pause
- Stop
- Resume : Activity is in foreground and have user focus.
- Pause : If an activity has lost focus but it still visible than it is in Pause state.
- Stop : An activity is completely observed by another activity.
Amar's Android Tech |
No comments:
Post a Comment