smoothScrollToPosition
open fun smoothScrollToPosition(recyclerView: RecyclerView, state: RecyclerView.State, position: Int)(source)
Smooth scroll to the specified adapter position.
To support smooth scrolling, override this method, create your SmoothScroller instance and call startSmoothScroll.
Parameters
recyclerView
The RecyclerView to which this layout manager is attached
state
Current State of RecyclerView
position
Scroll to this adapter position.