kyrie / com.github.alexjlockwood.kyrie / Animation / repeatMode

repeatMode

var repeatMode: Animation.RepeatMode

Defines what this animation should do when it reaches the end.

Return
Either one of RepeatMode.RESTART or RepeatMode.REVERSE.

fun repeatMode(repeatMode: Animation.RepeatMode): Animation<T, V>

Defines what this animation should do when it reaches the end. This setting is applied only when the repeat count is either greater than 0 or INFINITE. Defaults to RepeatMode.RESTART.

Parameters

repeatMode - RepeatMode.RESTART or RepeatMode.REVERSE.

Return
This Animation object (to allow for chaining of calls to setter methods).