RepeatMode
Kotlin
|Java
enum class RepeatMode
kotlin.Any | ||
↳ | kotlin.Enum<androidx.compose.animation.core.RepeatMode> | |
↳ | androidx.compose.animation.core.RepeatMode |
Repeat mode for RepeatableSpec and VectorizedRepeatableSpec.
Summary
Enum values | |
---|---|
Restart will restart the animation and animate from the start value to the end value. |
|
Reverse will reverse the last iteration as the animation repeats. |
Inherited extension functions | ||
---|---|---|
From androidx.core.util
|
Enum values
Restart
enum val Restart : RepeatMode
Restart will restart the animation and animate from the start value to the end value.
Reverse
enum val Reverse : RepeatMode
Reverse will reverse the last iteration as the animation repeats.