smoothScrollBy

fun ResourcesScope.smoothScrollBy(controller: LazyCollectionController, dx: Dimen, dy: Dimen)

Perform and animated scroll on the LazyCollection by a given number of pixels. For an instantaneous scroll use scrollBy.

Parameters

controller

The controller for the LazyCollection being scrolled.

dx

Distance to scroll along the x axis

dy

Distance to scroll along the y axis