Class

AndroidFlingSpline.FlingResult

Result coefficients of a scroll computation

Source set: Android
value class FlingResult(private val packedValue: Long)

Result coefficients of a scroll computation

Properties

distanceCoefficient

Source set: Android
val distanceCoefficient: Float

Linear distance traveled from 0-1, from source (0) to destination (1)

velocityCoefficient

Source set: Android
val velocityCoefficient: Float

Instantaneous velocity coefficient at this point in the fling expressed in total distance per unit time

Last updated: