repeatCount

fun ImageRequest.Builder.repeatCount(repeatCount: Int): ImageRequest.Builder

Set the number of times to repeat the animation if the result is an animated Drawable.

Default: MovieDrawable.REPEAT_INFINITE

See also

fun Parameters.repeatCount(): Int?

Get the number of times to repeat the animation if the result is an animated Drawable.