Share via


Activity.OnDetachedFromWindow Method

Definition

Called when the main window associated with the activity has been detached from the window manager.

[Android.Runtime.Register("onDetachedFromWindow", "()V", "GetOnDetachedFromWindowHandler")]
public virtual void OnDetachedFromWindow ();
[<Android.Runtime.Register("onDetachedFromWindow", "()V", "GetOnDetachedFromWindowHandler")>]
abstract member OnDetachedFromWindow : unit -> unit
override this.OnDetachedFromWindow : unit -> unit

Implements

Attributes

Remarks

Called when the main window associated with the activity has been detached from the window manager. See View#onDetachedFromWindow() View.onDetachedFromWindow() for more information.

Java documentation for android.app.Activity.onDetachedFromWindow().

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

See also