List of usage examples for android.app Fragment.SavedState Fragment.SavedState
SavedState(Bundle state)
From source file:android.app.FragmentManager.java
@Override public Fragment.SavedState saveFragmentInstanceState(Fragment fragment) { if (fragment.mIndex < 0) { throwException(// ww w . j a v a 2s .c o m new IllegalStateException("Fragment " + fragment + " is not currently in the FragmentManager")); } if (fragment.mState > Fragment.INITIALIZING) { Bundle result = saveFragmentBasicState(fragment); return result != null ? new Fragment.SavedState(result) : null; } return null; }