kyrie / com.github.alexjlockwood.kyrie / Animation / repeatCount

repeatCount

var repeatCount: Long

Defines how many times the animation should repeat. The default value is 0.

Return
The number of times the animation should repeat, or INFINITE.

fun repeatCount(repeatCount: Long): Animation<T, V>

Sets how many times the animation should be repeated. If the repeat count is 0, the animation is never repeated. If the repeat count is greater than 0 or INFINITE, the repeat mode will be taken into account. The repeat count is 0 by default.

Parameters

repeatCount - The number of times the animation should be repeated.

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