Fragment.OnDetach Fragment.OnDetach Method


Called when the fragment is no longer attached to its activity.

[Android.Runtime.Register("onDetach", "()V", "GetOnDetachHandler")]
public virtual void OnDetach ();
abstract member OnDetach : unit -> unit
override this.OnDetach : unit -> unit


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