0

I'm looking for a way to create a sticky header for an android app that show user the header portion while they can scroll through the list. Is there a way I can keep the header sticky inside RecyclerView? I did look into itemDecorator where it draw over the header with fake header which that is not what I want because the header includes buttons function.

I tried adding android css with nestedScrolling="false". Adding translation but nothing seems to work

munch
  • 1
  • I have been using the following code to achieve sticky headers. https://github.com/Doist/RecyclerViewExtensions/tree/master/StickyHeaders – bongo Feb 01 '23 at 07:00

0 Answers0