Our activity can exist in one of these three states: active, paused, or stopped. There is also
a fourth state, destroyed (but there's no guarantee the OS will ever call it):
- An activity is in the active state when its interface is available for the user. It persists from onResume() until onPause(), which is brought about when another activity comes to the foreground. If this new activity does not entirely obscure our activity, then ours will remain in the paused state until the new activity is finished or dismissed. It will then immediately call onResume() and continue.
- When a newly started activity fills the screen or makes our activity invisible, then our activity will enter the stopped state, and resumption will always ...