This class inherits most of the functionality from BaseAnimatedValue. In addition, it tracks
velocity and supports the definition of bounds. Once bounds are defined using setBounds, the
animation will consider itself finished when it reaches the upper or lower bound, even when the
velocity is non-zero.

Inherited functions

Sets the target value, which effectively starts an animation to change the value from value
to the target value. If there is already an animation in flight, this method will interrupt
the ongoing animation, invoke onEnd that is associated with that animation, and start
a new animation from the current value to the new target value.

Public constructors

<init>

This class inherits most of the functionality from BaseAnimatedValue. In addition, it tracks
velocity and supports the definition of bounds. Once bounds are defined using setBounds, the
animation will consider itself finished when it reaches the upper or lower bound, even when the
velocity is non-zero.

Public methods

setBounds

Sets up the bounds that the animation should be constrained to. When the animation
reaches the bounds it will stop right away, even when there is remaining velocity. Setting
a range will immediately clamp the current value to the new range. Therefore it is not
recommended to change bounds in a way that immediately changes current value during an
animation, as it would result in a discontinuous animation.