scrollBy

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

Scroll the LazyCollection by a given number of pixels. The Scroll is instant. For an animated scroll use smoothScrollBy.

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