Fragment.SetInitialSavedState(Fragment+SavedState) Fragment.SetInitialSavedState(Fragment+SavedState) Method


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

[Android.Runtime.Register("setInitialSavedState", "(Landroid/app/Fragment$SavedState;)V", "GetSetInitialSavedState_Landroid_app_Fragment_SavedState_Handler", ApiSince=13)]
public virtual void SetInitialSavedState (Android.App.Fragment.SavedState state);
abstract member SetInitialSavedState : Android.App.Fragment.SavedState -> unit
override this.SetInitialSavedState : Android.App.Fragment.SavedState -> unit


Fragment.SavedState Fragment.SavedState

The state the fragment should be restored from.


Portions of this page are modifications based on work created and shared by the Android Open Source Project and used according to terms described in the Creative Commons 2.5 Attribution License.

Applies to