v2.7.0
Edit: PLEASE USE 2.7.1 AS IT INTRODUCES THE BREAKING CHANGES IN A LESS BREAKING WAY
- Added
onViewAttachedToWindow
andonViewDetachedFromWindow
callbacks toItem
(PR #297) - BREAKING CHANGES to
GroupAdapter
- Some method names have been renamed and the functionality of existing ones has changed in order to provide more clarity to the API (PR #296, addresses issue #295):- original
getGroup(position)
has been replaced withgetGroupAtAdapterPosition(position)
.getGroup(position)
will now return a top level GroupAdapter group removeGroup(index)
has been renamed toremoveGroupAtAdapterPosition(position)
to reflect what it was actually doing.getItemCount(groupIndex)
has been renamed togetItemCountForGroup(groupIndex)
. It still returns the number of items contained in a top level GroupAdapter group.
- original
All these methods + some pre-existing ones should now have proper Javadoc.
❤ Thanks to @AllanHasegawa for contributing to this release.