Skip to content

@ValCanBuild ValCanBuild released this Oct 10, 2019 · 45 commits to master since this release

Edit: PLEASE USE 2.7.1 AS IT INTRODUCES THE BREAKING CHANGES IN A LESS BREAKING WAY

  • Added onViewAttachedToWindow and onViewDetachedFromWindow callbacks to Item (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 with getGroupAtAdapterPosition(position). getGroup(position) will now return a top level GroupAdapter group
    • removeGroup(index) has been renamed to removeGroupAtAdapterPosition(position) to reflect what it was actually doing.
    • getItemCount(groupIndex) has been renamed to getItemCountForGroup(groupIndex). It still returns the number of items contained in a top level GroupAdapter group.

All these methods + some pre-existing ones should now have proper Javadoc.

Thanks to @AllanHasegawa for contributing to this release.

Assets 2