FastAdapter v5.0.0-a07 Release Notes
Release Date: 2020-02-21 // about 4 years ago-
๐ Fixes
- โ remove the type from the factory
- resolve #871 - ๐ reverse deprecation of
AbstractItem
for convenient reasons - eliminate unnecessary duplicated class
- ๐ rename
AbstractBindingItemVHFactory
toBaseBindingItemVHFactory
- eliminate layoutRes from interface where it is no longer needed, especially when using viewBinding
- FIX #874 - even further simplify the view binding case, by providing an AbstractItem.kt which does not require a custom ViewHolder
- introduce extension functions to simplify hooking up click event hooks to binding items
- FIX #872
- simplify AbstractItem.kt by basing on top of the BaseItem.kt
- ๐ฐ adjust all payloads to be immutable
MutableList<Any>
->List<Any>
- FIX #813
- NOTE it requires a full clean, will compile though with MD and AboutLibraries
โก๏ธ Dependency Updates
- โก๏ธ update to latest android iconics library
- ๐ update to compatible materialDrawer release using the new FastAdapter v8.0.0-a06
- โก๏ธ update to new compatible AboutLibraries v8.0.0-b05
- โก๏ธ update to stable material 1.0.0
Sample
- โ remove unnecessary layout, fix overlapping statusbar in SortActivity.kt
Migration
- ๐ฐ Note that the
bindView(holder: VH, payloads: List<Any>)
will use aList
now instead aMutableList
- โ remove the type from the factory