Releases: Fueled/reclaim
Releases · Fueled/reclaim
Reclaim 2.1.1
What's new
- It's no longer required to override the
updateItemViews
method when extendingAdapterItem
.
Reclaim 2.1.0
Breaking Changes
ItemsViewAdapter
constructor no longer requires aContext
object.
Reclaim 2.0.0
What's new
- Rewrote the complete library in Kotlin.
- Started using androidx for dependencies.
- Renamed
BaseItem
toAdapterItem
. - Simplified
AdapterItem
so it no longer requiresdata
and ahandler
by default, you can add these as extra parameters if needed. - Removed the need to create an item types enum as the unique layout id's can be used as the type instead.
- The view holder is no longer being stored inside the
AdapterItem
, if you need to update a specific item after itsupdateItemViews
method has already been called you can callnotifyItemChanged(itemPosition)
on the adapter.
Reclaim 1.2.2
Merge pull request #14 from Fueled/feat-all-items Add method to get all items from adapter
Reclaim 1.2.1
Fix build settings.
Reclaim 1.2.0
Rename ItemHandler
to ItemPresenter
.
Reclaim 1.1.2
chore(project): Prep for version 1.1.2
Reclaim 1.1.1
Previously we were relying on onBindViewHolder to be called to update an item position, but there are cases were the item position would change without onBindViewHolder being called especially when using animations. To avoid this, we are now making sure that item positions are updated every time the items list is updated.
Reclaim 1.1.0
- Implement
replaceItems(List)
method to avoid having to callclearAllRecyclerItems()
andaddItemsList(List)
when replacing all items inside theItemsViewAdapter
. - Add the ability to use the diff check util when replacing a list to only perform required updates.
Reclaim 1.0.2
Fix some typos.