I have read that a call to onStop() is always preceded by a call to onPause() no matter what the scenario is. Reference: Figure 1 on http://developer.android.com/training/basics/activity-lifecycle/stopping.html
We know that an activity is paused when it does not have user's focus but it still partially visible, and it is stopped when it is not visible at all.
Now in the scenario when a user is in an activity and from the recent apps window selects and enters another app, the activity will enter from resumed/running to stopped state. No intermediate paused state.
Isn't it?
What is the good reason for always having onPause() before onStop(). We can do in onStop() what is done in onPause(). Why do we always need onPause() before onStop()?