Releases: lisawray/groupie
Releases · lisawray/groupie
v1.1
v1.0
Back in business & new package name!
Please switch to the new package name going forward: com.xwray.groupie
. The old version (com.genius.groupie
) published on maven / jcenter under the Genius organization will not receive any updates.
Thanks Genius for graciously transferring the repo and for everyone's patience while the library was stuck in limbo, it shouldn't happen again. :)
v0.8
This is a bugfix/minor feature release. It contains API changes if you are using Item.getExtras()
.
Item.getExtras
has been removed. Instead, useItem.putExtra()
.- Adds a callback
Item.isRecyclable
. This is an analogue ofRecyclerView.onFailedToRecycle()
. (#63) - Clicks when item has
NO_POSITION
are now correctly discarded. (#42) - Bug fix for incorrect nested add / remove (#57)
Thanks @andhie, @chip2n, and @kjpublic01 for your contributions!
v0.7
v0.6
v0.4
v0.3
- If you're using the optional top-level click listener, it's been changed from
View.OnClickListener
toOnItemClickListener
. The callback is nowonItemClick(Item, View)
. This should reduce the need to query the adapter (and know which adapter to query) when working with multiple adapters and nested adapters. - Added
@NonNull
annotation to all methods adding Groups to the GroupAdapter. Adding null groups to the adapter has always produced crashes eventually, but now it's strictly enforced with immediate exceptions and tests.
v0.2-alpha
If you were using the previous release, this release contains breaking changes.
- Items now have ids. By default, they are unique, auto-generated, integers. You can change these to reflect the id (for example, the primary key) of a model object the item represents.
- An OnClickListener a la ListView is now optional. Instead of passing it in the constructor, you can add it via setOnClickListener().
- UpdatingGroup can now accept and diff any list of Items. You should override Item.getId() and Item.equals() on all items that will be compared in order to ensure correct diffing.
- Several bug fixes and enhancements in the example project.
Thanks everyone who contributed!