Sdílet prostřednictvím


DrawableContainer.ScheduleDrawable Method

Definition

Overloads

ScheduleDrawable(Drawable, IRunnable, Int64)

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

ScheduleDrawable(Drawable, Action, Int64)

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)

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
what
Action
when
Int64

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