Share via


ViewTreeObserver.RemoveOnPreDrawListener Method

Definition

Remove a previously installed pre-draw callback

[Android.Runtime.Register("removeOnPreDrawListener", "(Landroid/view/ViewTreeObserver$OnPreDrawListener;)V", "")]
public void RemoveOnPreDrawListener (Android.Views.ViewTreeObserver.IOnPreDrawListener? victim);
[<Android.Runtime.Register("removeOnPreDrawListener", "(Landroid/view/ViewTreeObserver$OnPreDrawListener;)V", "")>]
member this.RemoveOnPreDrawListener : Android.Views.ViewTreeObserver.IOnPreDrawListener -> unit

Parameters

victim
ViewTreeObserver.IOnPreDrawListener

The callback to remove

Attributes

Exceptions

If IsAlive returns false

Remarks

Java documentation for android.view.ViewTreeObserver.removeOnPreDrawListener(android.view.OnPreDrawListener).

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.AddOnPreDrawListener(.IOnPreDrawListener)>