The AnimatedInteger class animates an integer, with a granularity of 1.00(…)1. That is, if the difference between the current and target value is less than or equal to 1, it will be ignored and the animation will be regarded as complete.
Get the next value about to be drawn, without setting the current value to it.
|start||The time at which the animation started, in milliseconds.|
|duration||The duration, in milliseconds, that the animation should take.|
Returned Value: The next value.