smoothScrollToId
fun ResourcesScope.smoothScrollToId(controller: LazyCollectionController, id: Any, offset: Dimen = 0.px, smoothScrollAlignmentType: SmoothScrollAlignmentType? = SmoothScrollAlignmentType.DEFAULT)
Perform an animated scroll on the LazyCollection so that the child with the given id is fully visible. For an animated scroll use smoothScrollToId.
Parameters
controller
The controller for the LazyCollection being scrolled.
id
The id of the child to scroll to
offset
Attempt to offset the child this distance from the start of the Collection.
smoothScrollAlignmentType
Attempt to position the child based on this alignment type.