Sdílet prostřednictvím


View.PostOnAnimationDelayed(IRunnable, Int64) Method

Definition

Causes the Runnable to execute on the next animation time step, after the specified amount of time elapses.

[Android.Runtime.Register("postOnAnimationDelayed", "(Ljava/lang/Runnable;J)V", "GetPostOnAnimationDelayed_Ljava_lang_Runnable_JHandler")]
public virtual void PostOnAnimationDelayed (Java.Lang.IRunnable? action, long delayMillis);
[<Android.Runtime.Register("postOnAnimationDelayed", "(Ljava/lang/Runnable;J)V", "GetPostOnAnimationDelayed_Ljava_lang_Runnable_JHandler")>]
abstract member PostOnAnimationDelayed : Java.Lang.IRunnable * int64 -> unit
override this.PostOnAnimationDelayed : Java.Lang.IRunnable * int64 -> unit

Parameters

action
IRunnable

The Runnable that will be executed.

delayMillis
Int64

The delay (in milliseconds) until the Runnable will be executed.

Attributes

Remarks

Causes the Runnable to execute on the next animation time step, after the specified amount of time elapses. The runnable will be run on the user interface thread.

Java documentation for android.view.View.postOnAnimationDelayed(java.lang.Runnable, long).

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