determineTargetIndex  
  open override fun determineTargetIndex(    velocity: Float,     decayAnimationSpec: DecayAnimationSpec<Float>,     maximumFlingDistance: Float): Int
Content copied to clipboard
Calculate the desired target which should be scrolled to for the given velocity.
Parameters
velocity
Velocity of the fling. This can be 0.
decayAnimationSpec  
The decay fling animation spec.
maximumFlingDistance  
The maximum distance in pixels which should be scrolled.