1

I have a RecyclerView with a LinearLayoutManager and i want to scroll it programmatically using the smoothScrollToPosition, but I don't want the user to be able to scroll by swiping over it. Is there anyway to do so? i've already tried overriding the canScrollHorizontally() of the layout manager but it also disables the programmatically scrolling.

0 Answers0