ViewTreeObserver.DispatchOnPreDraw Method

Definition

Notifies registered listeners that the drawing pass is about to start.

[Android.Runtime.Register("dispatchOnPreDraw", "()Z", "")]
public bool DispatchOnPreDraw ();
[<Android.Runtime.Register("dispatchOnPreDraw", "()Z", "")>]
member this.DispatchOnPreDraw : unit -> bool

Returns

Boolean

True if the current draw should be canceled and rescheduled, false otherwise.

Attributes

Remarks

Java documentation for android.view.ViewTreeObserver.dispatchOnPreDraw().

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