Example project to illustrate the behaviour of a FragmentStatePagerAdapter together with the usage of the FragmentManager (see http://stackoverflow.com/questions/16600156/fragment-in-viewpager-not-restored-after-popbackstack).
The correct solution can be found on the solution branch.