FragmentManager.FragmentLifecycleCallbacks.OnFragmentSaveInstanceState 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.
Called after the fragment has returned from the FragmentManager's call to
Fragment#onSaveInstanceState(Bundle)
.
[Android.Runtime.Register("onFragmentSaveInstanceState", "(Landroid/app/FragmentManager;Landroid/app/Fragment;Landroid/os/Bundle;)V", "GetOnFragmentSaveInstanceState_Landroid_app_FragmentManager_Landroid_app_Fragment_Landroid_os_Bundle_Handler", ApiSince=26)]
public virtual void OnFragmentSaveInstanceState (Android.App.FragmentManager fm, Android.App.Fragment f, Android.OS.Bundle outState);
[<Android.Runtime.Register("onFragmentSaveInstanceState", "(Landroid/app/FragmentManager;Landroid/app/Fragment;Landroid/os/Bundle;)V", "GetOnFragmentSaveInstanceState_Landroid_app_FragmentManager_Landroid_app_Fragment_Landroid_os_Bundle_Handler", ApiSince=26)>]
abstract member OnFragmentSaveInstanceState : Android.App.FragmentManager * Android.App.Fragment * Android.OS.Bundle -> unit
override this.OnFragmentSaveInstanceState : Android.App.FragmentManager * Android.App.Fragment * Android.OS.Bundle -> unit
Parameters
Host FragmentManager
- f
- Fragment
Fragment changing state
- outState
- Bundle
Saved state bundle for the fragment
- Attributes
Remarks
Called after the fragment has returned from the FragmentManager's call to Fragment#onSaveInstanceState(Bundle)
.
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.