Android.Views.ViewTreeObserver.RemoveOnWindowAttachListener Method
Remove a previously installed window attach callback.

Syntax

[Android.Runtime.Register("removeOnWindowAttachListener", "(Landroid/view/ViewTreeObserver$OnWindowAttachListener;)V", "")]
public void RemoveOnWindowAttachListener (ViewTreeObserver.IOnWindowAttachListener victim)

See Also

ViewTreeObserver.AddOnWindowAttachListener(.IOnWindowAttachListener)

Parameters

victim
The callback to remove

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionIf ViewTreeObserver.IsAlive returns false

Remarks

Remove a previously installed window attach callback.

[Android Documentation]

Requirements

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