Sdílet prostřednictvím


ViewTreeObserver.RemoveOnGlobalFocusChangeListener Method

Definition

Remove a previously installed focus change callback.

[Android.Runtime.Register("removeOnGlobalFocusChangeListener", "(Landroid/view/ViewTreeObserver$OnGlobalFocusChangeListener;)V", "")]
public void RemoveOnGlobalFocusChangeListener (Android.Views.ViewTreeObserver.IOnGlobalFocusChangeListener? victim);
[<Android.Runtime.Register("removeOnGlobalFocusChangeListener", "(Landroid/view/ViewTreeObserver$OnGlobalFocusChangeListener;)V", "")>]
member this.RemoveOnGlobalFocusChangeListener : Android.Views.ViewTreeObserver.IOnGlobalFocusChangeListener -> unit

Parameters

victim
ViewTreeObserver.IOnGlobalFocusChangeListener

The callback to remove

Attributes

Exceptions

If IsAlive returns false

Remarks

Java documentation for android.view.ViewTreeObserver.removeOnGlobalFocusChangeListener(android.view.OnGlobalFocusChangeListener).

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.ViewTreeObserver.AddOnGlobalFocusChangeListener(.IOnGlobalFocusChangeListener)>