다음을 통해 공유


ViewTreeObserver.RemoveOnWindowFocusChangeListener Method

Definition

Remove a previously installed window focus change callback.

[Android.Runtime.Register("removeOnWindowFocusChangeListener", "(Landroid/view/ViewTreeObserver$OnWindowFocusChangeListener;)V", "")]
public void RemoveOnWindowFocusChangeListener (Android.Views.ViewTreeObserver.IOnWindowFocusChangeListener? victim);
[<Android.Runtime.Register("removeOnWindowFocusChangeListener", "(Landroid/view/ViewTreeObserver$OnWindowFocusChangeListener;)V", "")>]
member this.RemoveOnWindowFocusChangeListener : Android.Views.ViewTreeObserver.IOnWindowFocusChangeListener -> unit

Parameters

victim
ViewTreeObserver.IOnWindowFocusChangeListener

The callback to remove

Attributes

Exceptions

If IsAlive returns false

Remarks

Java documentation for android.view.ViewTreeObserver.removeOnWindowFocusChangeListener(android.view.OnWindowFocusChangeListener).

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.AddOnWindowFocusChangeListener(.IOnWindowFocusChangeListener)>