v4.0.0
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