v2.9.0
In this release:
-
Add
GroupieAdapter
as a default adapter which binds theGroupieViewHolder
as its generic type, removing the need for creating a typealias for it yourself. (thanks @ibado) -
Add
replaceAll()
method toGroupAdapter
,Section
andExpandableGroup
, which allows one to replace items without animations usingnotifyDataSetChanged()
under the hood (thus differing fromupdate()
which runsDiffUtil
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 callinitializeViewBinding
manually. -
Deprecate
groupie-kotlin-android-extensions
due to its dependency onkotlin-android-extensions
, which is also deprecated since Kotlin 1.4.20. -
Update Kotlin to 1.4.21.