setInitialSavedState

open fun setInitialSavedState(@Nullable state: @Nullable Fragment.SavedState)

Set the initial saved state that this Fragment should restore itself from when first being constructed, as returned by FragmentManager.saveFragmentInstanceState.

Parameters

state

The state the fragment should be restored from.