Freigeben über


FragmentManager.FragmentLifecycleCallbacks.OnFragmentDetached Method

Definition

Called after the fragment has returned from the FragmentManager's call to Fragment#onDetach().

[Android.Runtime.Register("onFragmentDetached", "(Landroid/app/FragmentManager;Landroid/app/Fragment;)V", "GetOnFragmentDetached_Landroid_app_FragmentManager_Landroid_app_Fragment_Handler", ApiSince=26)]
public virtual void OnFragmentDetached (Android.App.FragmentManager fm, Android.App.Fragment f);
[<Android.Runtime.Register("onFragmentDetached", "(Landroid/app/FragmentManager;Landroid/app/Fragment;)V", "GetOnFragmentDetached_Landroid_app_FragmentManager_Landroid_app_Fragment_Handler", ApiSince=26)>]
abstract member OnFragmentDetached : Android.App.FragmentManager * Android.App.Fragment -> unit
override this.OnFragmentDetached : Android.App.FragmentManager * Android.App.Fragment -> unit

Parameters

fm
FragmentManager

Host FragmentManager

f
Fragment

Fragment changing state

Attributes

Remarks

Called after the fragment has returned from the FragmentManager's call to Fragment#onDetach().

Java documentation for android.app.FragmentManager.FragmentLifecycleCallbacks.onFragmentDetached(android.app.FragmentManager, android.app.Fragment).

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