When you run an app it goes through the following states: onCreate, onStart and onResume.
When you press home the app goes through: onPause and onStop.
When you go back to the app it goes through: onStart and onResume.
When you press back the app goes through: onPause, onStop and onDestroy
No comments:
Post a Comment