SmartRecyclerAdapter v4.0.0 Release Notes
Release Date: 2019-09-28 // over 4 years ago-
Important
π This
v4.0.0
release contains non backwards compatible changes.- This version has migrated all library code to Kotlin.
- π No Java to Kotlin interop support added in this version.
- π
ViewEventListeners
has crossinline support for lambda calls.
Whatβs new
General
- π 100% translation into Kotlin.
OnViewEventListener
- π New
ViewEventListener
implementation with Kotlin properties instead of java default method calls. - Library
ViewEventListener
extensions ex:OnItemClickListener
,OnItemLongClickListener
has crossinline lambda call helper methods.
ViewHolder interfaces
- Method calls has been replaced with properties in most
Holders
exDraggableViewHolder
,SmartAdapterHolder
,ViewEventListenerHolder
,StatefulViewHolder
.
More
- β Removed
getViewEventListeners
, useviewEventMapper.viewEventListenerMap
atm. SmartRecyclerAdapter
takes both mutable and immutable lists, immutable lists are converted to mutable lists.- π¨ Optimizations, minor refactoring, bug fixes