-
Notifications
You must be signed in to change notification settings - Fork 4
Header View #24
Comments
Here are several ways to do it https://khacpv.medium.com/android-best-practice-for-recyclerview-with-headerview-140bd4b10757 Ok I think the last one is not that good because there are problems if it gets nested, actually I think the easiest would be to handle multiple viewholder types and calculate offset, for that slush has to support multiple types (which is on the TODO) or easier would probably be to just use ConcatAdapter as described here @MinSeungHyun you know slush best, what do you think is the best/easiest route, add multiple holdertype support first or concat adapters? |
Thank you so much for helping my library 🥰 |
You're welcome, no problem! |
Hope you did well on your exam! Any progress so far? 😊 |
Yeah, thank you for your concerns. Unfortunately, as you can see on the description of this repository, I decided not to update this library TT |
Oh very sad to hear, you should really reconsider, this is the best/easiest library to handle recyclerviews! ❤ |
But there is a way to maintain this library. |
If i might suggested another feature:
A different header view that is displayed as the first item would be awesome could be something like this in the builder:
addHeader(R.layout.header) { view -> ... }
And also a footer as the last item should be added.
I think then this library really suits all basic needs one can wish for 😎
The text was updated successfully, but these errors were encountered: