Game Development Reference
In-Depth Information
Figure 4-3.
The mighty, confusing activity life cycle
Here are the three big lessons we should take away from this:
Before our activity enters the running state, the
onResume()
method is
always called, whether or not we resume from a stopped state or from a
paused state. We can thus safely ignore the
onRestart()
and
onStart()
methods. We don't care whether we resumed from a stopped state or
1.