scrollBy

fun scrollBy(@Px dx: Int, @Px dy: Int)

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

Parameters

dx

Pixel distance to scroll along the x axis

dy

Pixel distance to scroll along the y axis