Android.Views.View.RemoveOnAttachStateChangeListener Method
Remove a listener for attach state changes.

Syntax

[Android.Runtime.Register("removeOnAttachStateChangeListener", "(Landroid/view/View$OnAttachStateChangeListener;)V", "GetRemoveOnAttachStateChangeListener_Landroid_view_View_OnAttachStateChangeListener_Handler")]
public virtual void RemoveOnAttachStateChangeListener (View.IOnAttachStateChangeListener listener)

See Also

View.AddOnAttachStateChangeListener(.IOnAttachStateChangeListener)

Parameters

listener
Listener to remove

Remarks

Remove a listener for attach state changes. The listener will receive no further notification of window attach/detach events.

[Android Documentation]

Requirements

Namespace: Android.Views
Assembly: Mono.Android (in Mono.Android.dll)
Assembly Versions: 0.0.0.0
Since: Added in API level 12