Partager via


View.RemoveOnAttachStateChangeListener Method

Definition

Remove a listener for attach state changes.

[Android.Runtime.Register("removeOnAttachStateChangeListener", "(Landroid/view/View$OnAttachStateChangeListener;)V", "GetRemoveOnAttachStateChangeListener_Landroid_view_View_OnAttachStateChangeListener_Handler")]
public virtual void RemoveOnAttachStateChangeListener (Android.Views.View.IOnAttachStateChangeListener? listener);
[<Android.Runtime.Register("removeOnAttachStateChangeListener", "(Landroid/view/View$OnAttachStateChangeListener;)V", "GetRemoveOnAttachStateChangeListener_Landroid_view_View_OnAttachStateChangeListener_Handler")>]
abstract member RemoveOnAttachStateChangeListener : Android.Views.View.IOnAttachStateChangeListener -> unit
override this.RemoveOnAttachStateChangeListener : Android.Views.View.IOnAttachStateChangeListener -> unit

Parameters

listener
View.IOnAttachStateChangeListener

Listener to remove

Attributes

Remarks

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

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

  • <xref:Android.Views.View.AddOnAttachStateChangeListener(.IOnAttachStateChangeListener)>