View.IOnAttachStateChangeListener View.IOnAttachStateChangeListener Interface

Definition

Interface definition for a callback to be invoked when this view is attached or detached from its window.

[Android.Runtime.Register("android/view/View$OnAttachStateChangeListener", "", "Android.Views.View/IOnAttachStateChangeListenerInvoker", ApiSince=12)]
public interface View.IOnAttachStateChangeListener : Android.Runtime.IJavaObject, IDisposable
type View.IOnAttachStateChangeListener = interface
    interface IJavaObject
    interface IDisposable
Attributes
Implements

Remarks

Android platform documentation

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.

Methods

OnViewAttachedToWindow(View) OnViewAttachedToWindow(View)

Called when the view is attached to a window.

OnViewDetachedFromWindow(View) OnViewDetachedFromWindow(View)

Called when the view is detached from a window.

Properties

Handle Handle

Gets the JNI value of the underlying Android object.

(Inherited from IJavaObject)

Extension Methods

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Performs an Android runtime-checked type conversion.

JavaCast<TResult>(IJavaObject) JavaCast<TResult>(IJavaObject)

Applies to