Android.Views.ViewTreeObserver.RemoveOnWindowFocusChangeListener Method
Remove a previously installed window focus change callback.

Syntax

[Android.Runtime.Register("removeOnWindowFocusChangeListener", "(Landroid/view/ViewTreeObserver$OnWindowFocusChangeListener;)V", "")]
public void RemoveOnWindowFocusChangeListener (ViewTreeObserver.IOnWindowFocusChangeListener victim)

See Also

ViewTreeObserver.AddOnWindowFocusChangeListener(.IOnWindowFocusChangeListener)

Parameters

victim
The callback to remove

Exceptions

TypeReason
Java.Lang.IllegalStateExceptionIf ViewTreeObserver.IsAlive returns false

Remarks

Remove a previously installed window focus change 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