I'm working with a RecyclerView and I want the clicked item to be scrolled to the top of the RecyclerView. I tried the smooth scrolling methods from RecyclerView but none of them work as I expect.
The only one working is scrollToPositionWithOffset from LinearLayoutManager, but there is no smooth animation: item jumps directly to the top.
Is there any way to achieve a smooth animation for this scrollToPositionWithOffset method?
smoothScrollToPosition
method . – Dioptrics