RepeatableSpec
constructor(iterations: Int, animation: DurationBasedAnimationSpec<T>, repeatMode: RepeatMode = RepeatMode.Restart, initialStartOffset: StartOffset = StartOffset(0))
Parameters
iterations
the count of iterations. Should be at least 1.
animation
the AnimationSpec to be repeated
repeatMode
whether animation should repeat by starting from the beginning (i.e. RepeatMode.Restart) or from the end (i.e. RepeatMode.Reverse)
initialStartOffset
offsets the start of the animation