repeat property

int repeat
final

Number of times the animation should repeat.

  • 0: Play once (no repeat)
  • Positive number: Repeat that many times
  • -1: Infinite loop

Defaults to 0.

Implementation

final int repeat;