smoothScrollToIndex
fun smoothScrollToIndex(index: Int, @Px offset: Int = 0, smoothScrollAlignmentType: SmoothScrollAlignmentType? = SmoothScrollAlignmentType.DEFAULT)
Perform an animated scroll on the LazyCollection so that the child at the given index is fully visible. For an instantaneous scroll use scrollToIndex.
Parameters
index
The index of the child to scroll to
offset
Attempt to offset the child by this number of pixels from the start of the Collection.
smoothScrollAlignmentType
Attempt to position the child based on this alignment type.