VectorizedInfiniteRepeatableSpec
class VectorizedInfiniteRepeatableSpec<V : AnimationVector> : VectorizedAnimationSpec<V>
kotlin.Any | |
↳ | androidx.compose.animation.core.VectorizedInfiniteRepeatableSpec |
This animation takes another VectorizedDurationBasedAnimationSpec and plays it infinite times.
Summary
Public constructors | |
---|---|
<init>(animation: VectorizedDurationBasedAnimationSpec<V>, repeatMode: RepeatMode = RepeatMode.Restart) This animation takes another VectorizedDurationBasedAnimationSpec and plays it infinite times. |
Properties | |
---|---|
Boolean |
Whether or not the VectorizedAnimationSpec specifies an infinite animation. |
Public constructors
<init>
VectorizedInfiniteRepeatableSpec(
animation: VectorizedDurationBasedAnimationSpec<V>,
repeatMode: RepeatMode = RepeatMode.Restart)
This animation takes another VectorizedDurationBasedAnimationSpec and plays it infinite times.
Parameters | |
---|---|
animation: VectorizedDurationBasedAnimationSpec<V> | the VectorizedAnimationSpec describing each repetition iteration. |
repeatMode: RepeatMode = RepeatMode.Restart | whether animation should repeat by starting from the beginning (i.e. RepeatMode.Restart) or from the end (i.e. RepeatMode.Reverse) |
Properties
isInfinite
val isInfinite: Boolean
Whether or not the VectorizedAnimationSpec specifies an infinite animation. That is, one that will not finish by itself, one that needs an external action to stop. For examples, an indeterminate progress bar, which will only stop when it is removed from the composition.