So basically I am using this answer to control the speed of the scroll, but my problem is that I need the speed to be constant, and with this solution when the scroll is arriving at the end it starts to slow down.
Asked
Active
Viewed 82 times
1 Answers
1
I found a solution. Just override the next function without a body inside class that extend LinearSmoothScroller:
override fun onTargetFound(targetView: View, state: RecyclerView.State, action: Action) {
}

Gray
- 81
- 4