Skip to content Skip to sidebar Skip to footer

Recylerview With A Fixed First Row As Header

I would like to create a recycler view with a fixed first row, which should act as the header. Also ,how can I prevent it from scrolling with other row elements ?

Solution 1:

Don't put your fixed header in the RecyclerView. Wrap the RecyclerView in a vertical LinearLayout, with your fixed header above it.


Post a Comment for "Recylerview With A Fixed First Row As Header"