Compute vertical scroll range and offset for recycler view with different view types

1k Views Asked by At

My question if pretty clear. I'm trying to add fast scroll for recycler view with different view types and for that I need to calculate vertical scroll range and offset. I have 6 view types with height that depend on content. I'm using GridLayoutManager and its implementation of the methods:

  • computeVerticalScrollRange
  • computeVerticalScrollOffset

are not applicable for rv with different view types.

Could someone help me with this please?

0

There are 0 best solutions below