Fragment.SetInitialSavedState(Fragment+SavedState) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Set the initial saved state that this Fragment should restore itself
from when first being constructed, as returned by
FragmentManager#saveFragmentInstanceState(Fragment)
FragmentManager.saveFragmentInstanceState
.
[Android.Runtime.Register("setInitialSavedState", "(Landroid/app/Fragment$SavedState;)V", "GetSetInitialSavedState_Landroid_app_Fragment_SavedState_Handler")]
public virtual void SetInitialSavedState (Android.App.Fragment.SavedState? state);
[<Android.Runtime.Register("setInitialSavedState", "(Landroid/app/Fragment$SavedState;)V", "GetSetInitialSavedState_Landroid_app_Fragment_SavedState_Handler")>]
abstract member SetInitialSavedState : Android.App.Fragment.SavedState -> unit
override this.SetInitialSavedState : Android.App.Fragment.SavedState -> unit
Parameters
- state
- Fragment.SavedState
The state the fragment should be restored from.
- Attributes
Remarks
Java documentation for android.app.Fragment.setInitialSavedState(android.app.SavedState)
.
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.