onSaveInstanceState

You must call this method from the parent's Activity#onSaveInstanceState(Bundle) or Fragment#onSaveInstanceState(Bundle).

Parameters

outState

Pass in the parent's outState.