Tuesday, May 8, 2012

Quick Note - Android - Activity Lifecycle Notes

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: