Google is committed to advancing racial equity for Black communities. See how.

RepeatMode

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.

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.