Class

RepeatMode

Repeat mode for RepeatableSpec and VectorizedRepeatableSpec.

Source set: Common
public enum class RepeatMode {
    /** [Restart] will restart the animation and animate from the start value to the end value. */
    Restart,

    /** [Reverse] will reverse the last iteration as the animation repeats. */
    Reverse,
}

Repeat mode for RepeatableSpec and VectorizedRepeatableSpec.

Members

Restart

Source set: Common
Restart

Restart will restart the animation and animate from the start value to the end value.

Reverse

Source set: Common
Reverse

Reverse will reverse the last iteration as the animation repeats.

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: