FragmentController.RestoreAllState 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.
Overloads
RestoreAllState(IParcelable, FragmentManagerNonConfig) |
Restores the saved state for all Fragments. |
RestoreAllState(IParcelable, IList<Fragment>) |
Restores the saved state for all Fragments. |
RestoreAllState(IParcelable, FragmentManagerNonConfig)
Restores the saved state for all Fragments.
[Android.Runtime.Register("restoreAllState", "(Landroid/os/Parcelable;Landroid/app/FragmentManagerNonConfig;)V", "GetRestoreAllState_Landroid_os_Parcelable_Landroid_app_FragmentManagerNonConfig_Handler", ApiSince=24)]
public virtual void RestoreAllState (Android.OS.IParcelable? state, Android.App.FragmentManagerNonConfig? nonConfig);
[<Android.Runtime.Register("restoreAllState", "(Landroid/os/Parcelable;Landroid/app/FragmentManagerNonConfig;)V", "GetRestoreAllState_Landroid_os_Parcelable_Landroid_app_FragmentManagerNonConfig_Handler", ApiSince=24)>]
abstract member RestoreAllState : Android.OS.IParcelable * Android.App.FragmentManagerNonConfig -> unit
override this.RestoreAllState : Android.OS.IParcelable * Android.App.FragmentManagerNonConfig -> unit
Parameters
- state
- IParcelable
- nonConfig
- FragmentManagerNonConfig
- Attributes
Remarks
Restores the saved state for all Fragments. The given FragmentManagerNonConfig are Fragment instances retained across configuration changes, including nested fragments
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
RestoreAllState(IParcelable, IList<Fragment>)
Restores the saved state for all Fragments.
[Android.Runtime.Register("restoreAllState", "(Landroid/os/Parcelable;Ljava/util/List;)V", "GetRestoreAllState_Landroid_os_Parcelable_Ljava_util_List_Handler", ApiSince=23)]
public virtual void RestoreAllState (Android.OS.IParcelable? state, System.Collections.Generic.IList<Android.App.Fragment>? nonConfigList);
[<Android.Runtime.Register("restoreAllState", "(Landroid/os/Parcelable;Ljava/util/List;)V", "GetRestoreAllState_Landroid_os_Parcelable_Ljava_util_List_Handler", ApiSince=23)>]
abstract member RestoreAllState : Android.OS.IParcelable * System.Collections.Generic.IList<Android.App.Fragment> -> unit
override this.RestoreAllState : Android.OS.IParcelable * System.Collections.Generic.IList<Android.App.Fragment> -> unit
Parameters
- state
- IParcelable
- Attributes
Remarks
Restores the saved state for all Fragments. The given Fragment list are Fragment instances retained across configuration changes.
This member is deprecated. use #restoreAllState(Parcelable, FragmentManagerNonConfig)
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.