Compartilhar via


Activity.OnAttachedToWindow Method

Definition

Called when the main window associated with the activity has been attached to the window manager.

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

Implements

Attributes

Remarks

Called when the main window associated with the activity has been attached to the window manager. See View#onAttachedToWindow() View.onAttachedToWindow() for more information.

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

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