Udostępnij za pośrednictwem


AnimatorSet.Reverse Method

Definition

Plays the AnimatorSet in reverse.

[Android.Runtime.Register("reverse", "()V", "", ApiSince=26)]
public void Reverse ();
[<Android.Runtime.Register("reverse", "()V", "", ApiSince=26)>]
member this.Reverse : unit -> unit
Attributes

Remarks

Plays the AnimatorSet in reverse. If the animation has been seeked to a specific play time using #setCurrentPlayTime(long), it will play backwards from the point seeked when reverse was called. Otherwise, then it will start from the end and play backwards. This behavior is only set for the current animation; future playing of the animation will use the default behavior of playing forward.

Note: reverse is not supported for infinite AnimatorSet.

Java documentation for android.animation.AnimatorSet.reverse().

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