Android.Views.ViewTreeObserver.RemoveOnGlobalLayoutListener Method
Remove a previously installed global layout callback

Syntax

[Android.Runtime.Register("removeOnGlobalLayoutListener", "(Landroid/view/ViewTreeObserver$OnGlobalLayoutListener;)V", "")]
public void RemoveOnGlobalLayoutListener (ViewTreeObserver.IOnGlobalLayoutListener victim)

See Also

ViewTreeObserver.AddOnGlobalLayoutListener(.IOnGlobalLayoutListener)

Parameters

victim
The callback to remove

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionIf ViewTreeObserver.IsAlive returns false

Remarks

Remove a previously installed global layout 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 16