Language

LayerDrawable.ScheduleDrawable Method

Definition

Overloads

Name Description
ScheduleDrawable(Drawable, IRunnable, Int64)

A Drawable can call this to schedule the next frame of its animation.

ScheduleDrawable(Drawable, Action, Int64)

Wraps the action in a runnable and passes it to the runnable scheduling overload.

ScheduleDrawable(Drawable, IRunnable, Int64)

A Drawable can call this to schedule the next frame of its animation.

[Android.Runtime.Register("scheduleDrawable", "(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;J)V", "GetScheduleDrawable_Landroid_graphics_drawable_Drawable_Ljava_lang_Runnable_JHandler")]
public virtual void ScheduleDrawable(Android.Graphics.Drawables.Drawable who, Java.Lang.IRunnable what, long when);
[<Android.Runtime.Register("scheduleDrawable", "(Landroid/graphics/drawable/Drawable;Ljava/lang/Runnable;J)V", "GetScheduleDrawable_Landroid_graphics_drawable_Drawable_Ljava_lang_Runnable_JHandler")>]
abstract member ScheduleDrawable : Android.Graphics.Drawables.Drawable * Java.Lang.IRunnable * int64 -> unit
override this.ScheduleDrawable : Android.Graphics.Drawables.Drawable * Java.Lang.IRunnable * int64 -> unit

Parameters

who
Drawable

The drawable being scheduled.

what
IRunnable

The action to execute.

when
Int64

The time (in milliseconds) to run. The timebase is UptimeMillis()

Implements

Attributes

Remarks

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

ScheduleDrawable(Drawable, Action, Int64)

Wraps the action in a runnable and passes it to the runnable scheduling overload.

public void ScheduleDrawable(Android.Graphics.Drawables.Drawable who, Action what, long when);
member this.ScheduleDrawable : Android.Graphics.Drawables.Drawable * Action * int64 -> unit

Parameters

who
Drawable

The drawable passed to the runnable overload; the default layer implementation does not use this argument.

what
Action

The action to schedule.

when
Int64

The time to run the action, in milliseconds measured by system uptime.

Remarks

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