getDurationNanos

abstract fun getDurationNanos(initialValue: V, initialVelocity: V): Long

Returns the duration of the decay animation, in nanoseconds.

Parameters

initialValue

initialValue value of the animation

initialVelocity

initialValue velocity of the animation