Skip to content

v2.9.0

Compare
Choose a tag to compare
@Zhuinden Zhuinden released this 15 Jan 12:43
· 27 commits to master since this release

In this release:

  • Add GroupieAdapter as a default adapter which binds the GroupieViewHolder as its generic type, removing the need for creating a typealias for it yourself. (thanks @ibado)

  • Add replaceAll() method to GroupAdapter, Section and ExpandableGroup, which allows one to replace items without animations using notifyDataSetChanged() under the hood (thus differing from update() which runs DiffUtil and therefore issues animations).

(NOTE: this change required adding a new method to GroupDataObservable public interface, which typically delegates onDataSetInvalidated() and in the end resolves to notifyDataSetChanged(). Theoretically there is no need to use this interface manually, but those who do depend on it will need to update accordingly.)

  • Undeprecate groupie-databinding. While databinding is not preferred to viewbinding, those who use it should not need to call initializeViewBinding manually.

  • Deprecate groupie-kotlin-android-extensions due to its dependency on kotlin-android-extensions, which is also deprecated since Kotlin 1.4.20.

  • Update Kotlin to 1.4.21.