A sample app to compare the implementation of the adapter delegation libraries below.
✅ Out of the box support for sections
❌ No support for ViewBinding (yet)
❌ Little bit more boilerplate
❌ No out of the box support for saving nested recycler state
❌ Need to map view data objects to Group
s (equivalent to ViewHolder
s)
AdapterDelegates - https://github.com/sockeqwe/AdapterDelegates
✅ Easy and concise syntax, easy to use
✅ Support for ViewBinding
❌ No out of the box support for saving nested recycler state
✅ Concise syntax
✅ Support for ViewBinding
✅ Support for a completely different item at the bottom of the list
✅ Out of the box support for saving nested recycler state
✅ Calculating diffs with coroutines
❌ Has it's own DSL, so it has a higher learning curve
❌ Library is in early state, so there are some missing/weird things