If you scroll the instagram ribbon, the headers of each item in the list will "stick" into the toolbar. If you used instagram, you will understand how it looks. I wonder how to implement similar functionality for the list? Maybe there are some libraries that have similar functionality?

  • stickyjs for example. Generally on request a sticky div can be a lot of different bikes for this to find - Sergey Tambovites

1 answer 1

There are libraries that implement this functionality:

One https://github.com/timehop/sticky-headers-recyclerview

Two https://github.com/TonicArtos/StickyGridHeaders

Three https://github.com/emilsjolander/StickyListHeaders