setSelectedPositionSmooth
Changes the selected item and runs an animation to scroll to the target position.
Parameters
position
Adapter position of the item to select
Performs a task on a ViewHolder at a given position after scrolling to it.
Parameters
position
Adapter position of the item to select
task
Task to executed on the ViewHolder at the given position