setMinimumVelocity

open fun setMinimumVelocity(horizontalMin: Float, verticalMin: Float): AutoScrollHelper(source)

Sets the absolute minimum scrolling velocity.

If both relative and minimum velocities are specified, the minimum velocity will be used to clamp the calculated relative velocity.

Return

The scroll helper, which may used to chain setter calls.

Parameters

horizontalMin

The minimum horizontal scrolling velocity, or NO_MIN to leave the relative value unconstrained.

verticalMin

The minimum vertical scrolling velocity, or NO_MIN to leave the relative value unconstrained.