共用方式為


View.IOnAttachStateChangeListener.OnViewAttachedToWindow(View) Method

Definition

Called when the view is attached to a window.

[Android.Runtime.Register("onViewAttachedToWindow", "(Landroid/view/View;)V", "GetOnViewAttachedToWindow_Landroid_view_View_Handler:Android.Views.View/IOnAttachStateChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")]
public void OnViewAttachedToWindow (Android.Views.View attachedView);
[<Android.Runtime.Register("onViewAttachedToWindow", "(Landroid/view/View;)V", "GetOnViewAttachedToWindow_Landroid_view_View_Handler:Android.Views.View/IOnAttachStateChangeListenerInvoker, Mono.Android, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null")>]
abstract member OnViewAttachedToWindow : Android.Views.View -> unit

Parameters

attachedView
View
Attributes

Remarks

Called when the view is attached to a window.

Java documentation for android.view.View.OnAttachStateChangeListener.onViewAttachedToWindow(android.view.View).

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