public void onSaveInstanceState(Bundle outState) {
        outState.putString("mToolbarVisibility", mToolbarVisibility.name());
        outState.putBoolean("mToolbarIsVisible", mToolbarIsVisible);
        outState.putInt("mActiveEditor", mActiveEditor);
        if (mLinkSelection != null) {
            outState.putSerializable("mLinkSelection", mLinkSelection);
        }
    }
public void onSaveInstanceState(Bundle outState) {
        outState.putString("mToolbarVisibility", mToolbarVisibility.name());
        outState.putBoolean("mToolbarIsVisible", mToolbarIsVisible);
        outState.putInt("mActiveEditor", mActiveEditor);
        if (mLinkSelection != null) {
            outState.putSerializable("mLinkSelection", mLinkSelection);
        }
    }
public void onSaveInstanceState ( Bundle outState ) { outState . putString ( "mToolbarVisibility" , mToolbarVisibility . name ( ) ) ; outState . putBoolean ( "mToolbarIsVisible" , mToolbarIsVisible ) ; outState . putInt ( "mActiveEditor" , mActiveEditor ) ; if ( mLinkSelection != null ) { outState . putSerializable ( "mLinkSelection" , mLinkSelection ) ; } }
Called to retrieve per-instance state before being killed so that the
state can be restored in the constructor.

@param outState Bundle in which to place your saved state.
Called to retrieve per - instance state before being killed so that the state can be restored in the constructor .