We are using Fragments and we don\'t need them to be automatically recovered when the Activity is recreated.
But Android every time when Activity::onCreate(Bundle save
For an app with a ViewPager, I remove the fragments in onCreate(), before their creation.
Based on this thread: Remove all fragments from container, we have:
FragmentManager fm = getSupportFragmentManager();
for (Fragment fragment: fm.getFragments()) {
fm.beginTransaction().remove(fragment).commitNow();
}