Always item at top offset while scrollbar dragging(Fast Scrolling) with Vertical RecyclerView

168 Views Asked by At

I want to achieve fast scroll like this in my large data set RecyclerView, I'm using com.simplecityapps:recyclerview-fastscroll this library to fast scroll.

Fast Scrolling Large Data Set

Item at top offset, this is what i want to do while fast scrolling.

This can do scroll at top: scrollToPositionWithOffset(position, 0), but it is manual trigger by code.

I want this with the scrollbar.

I have tried using LinearSnapHelper, but that didn't helped with Scrollbar.

I'm using Room and Paging Library to load data lazily.

Thanks.

0

There are 0 best solutions below