Udostępnij za pośrednictwem


Animator.Start Method

Definition

Starts this animation.

[Android.Runtime.Register("start", "()V", "GetStartHandler")]
public virtual void Start ();
[<Android.Runtime.Register("start", "()V", "GetStartHandler")>]
abstract member Start : unit -> unit
override this.Start : unit -> unit
Attributes

Remarks

Starts this animation. If the animation has a nonzero startDelay, the animation will start running after that delay elapses. A non-delayed animation will have its initial value(s) set immediately, followed by calls to AnimatorListener#onAnimationStart(Animator) for any listeners of this animator.

The animation started by calling this method will be run on the thread that called this method. This thread should have a Looper on it (a runtime exception will be thrown if this is not the case). Also, if the animation will animate properties of objects in the view hierarchy, then the calling thread should be the UI thread for that view hierarchy.

Java documentation for android.animation.Animator.start().

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