Sdílet prostřednictvím


ViewTreeObserver.RemoveOnDrawListener Method

Definition

Remove a previously installed pre-draw callback.

[Android.Runtime.Register("removeOnDrawListener", "(Landroid/view/ViewTreeObserver$OnDrawListener;)V", "")]
public void RemoveOnDrawListener (Android.Views.ViewTreeObserver.IOnDrawListener? victim);
[<Android.Runtime.Register("removeOnDrawListener", "(Landroid/view/ViewTreeObserver$OnDrawListener;)V", "")>]
member this.RemoveOnDrawListener : Android.Views.ViewTreeObserver.IOnDrawListener -> unit

Parameters

victim
ViewTreeObserver.IOnDrawListener

The callback to remove

Attributes

Exceptions

If IsAlive returns false

Remarks

Java documentation for android.view.ViewTreeObserver.removeOnDrawListener(android.view.OnDrawListener).

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.AddOnDrawListener(.IOnDrawListener)>