setSmoothScrollSpeedFactor

fun setSmoothScrollSpeedFactor(smoothScrollSpeedFactor: Float)

Set how slow the smooth scroller should run. Example:

  • When set to 2f, the smooth scroller is twice slower.

  • When set to 0.5f, the smooth scroller is twice faster.

The value is 1f by default.

Parameters

smoothScrollSpeedFactor

Factor of how slow the smooth scroll is.