idanatz / OneAdapter

A Viewholderless Adapter for RecyclerView, who supports builtin diffing, states (paging, empty...), events (clicking, swiping...), and more.
MIT License
470 stars 45 forks source link

Sticky Section Header & Custom Item Decorators #9

Open OfTheWolf opened 4 years ago

OfTheWolf commented 4 years ago

Is there any support for the sticky headers. if not, how can i add custom item decorator to extend the functionality of this library.

Thanks

idanatz commented 4 years ago

Hi, Sorry, currently there is no support for sticky headers. Will try to add it in a future version 🙂

Regarding custom item decorator, you can add any item decorator you want using the addItemDecoration method on the RecyclerView before you pass it to OneAdapter.