RepeatableBuilder

class RepeatableBuilder<T> : AnimationBuilder<T>
kotlin.Any
   ↳ androidx.animation.AnimationBuilder<T>
   ↳ androidx.animation.RepeatableBuilder

Used for creating repeated animations where each iteration is defined by one of the duration based animations like TweenBuilder or KeyframesBuilder.

Summary

Public constructors

Used for creating repeated animations where each iteration is defined by one of the duration based animations like TweenBuilder or KeyframesBuilder.

Properties

DurationBasedAnimationBuilder<T>?

Use TransitionSpec.tween or TransitionSpec.keyframes as a specification for the animation iteration.

Int?

The count of iterations.

Public constructors

<init>

RepeatableBuilder()

Used for creating repeated animations where each iteration is defined by one of the duration based animations like TweenBuilder or KeyframesBuilder.

Properties

animation

var animation: DurationBasedAnimationBuilder<T>?

Use TransitionSpec.tween or TransitionSpec.keyframes as a specification for the animation iteration.

iterations

var iterations: Int?

The count of iterations. Can't be less then 1. Use Infinite to have an infinity repeating animation.