SmartRecyclerAdapter v5.0.0-rc01 Release Notes
Release Date: 2020-10-19 // about 4 years ago-
Important
π This
smart-recycler-adapter
v5.0.0-rc01
release contains non backwards compatible changes.- π¦ Moved ItemTouchBinder, SmartRecyclerAdapterExtension, SmartExtensionBuilder, SmartViewHolderBinder to extension package.
- β Removed and replaced addBinder(SmartViewHolderBinder) & addExtension(SmartRecyclerAdapterExtension) methods with add(SmartExtensionIdentifier).
- β Removed and replaced viewHolderBinders & smartRecyclerAdapterExtensions with single smartExtensions map source.
More changes
- β Added SmartExtensionIdentifier and segregated identifier from SmartRecyclerAdapterExtension.
- β Added SmartExtensionIdentifier extension to SmartViewHolderBinder.
Whatβs new
General
- β¬οΈ Bump
smart-recycler-adapter
from5.0.0-beta05
to5.0.0-rc01
. - β¬οΈ Bump
smart-recycler-adapter-nestedadapter
from1.0.0-alpha01
to1.0.0-beta01
. - β¬οΈ Bump
smart-recycler-adapter-diffutil
from1.0.0-alpha01
to1.0.0-beta01
. - β¬οΈ Bump
smart-recycler-adapter-viewevent
from1.0.0-beta02
to1.0.0-beta03
. - β¬οΈ Bump
smart-recycler-adapter-stickyheader
from1.0.0-alpha01
to1.0.0-alpha02
. - β Added initital
smart-recycler-adapter-filter v1.0.0-alpha01
library. - β Added
common-library-config.gradle
to all extension libraries.
smart-recycler-adapter
- π¦ Moved ItemTouchBinder, SmartRecyclerAdapterExtension, SmartExtensionBuilder, SmartViewHolderBinder to extension package
- β Added SmartExtensionIdentifier and segregated identifier from SmartRecyclerAdapterExtension
- β Added SmartExtensionIdentifier extension to SmartViewHolderBinder
- β Removed and replaced addBinder(SmartViewHolderBinder) & addExtension(SmartRecyclerAdapterExtension) methods with add(SmartExtensionIdentifier)
- β Removed and replaced viewHolderBinders & smartRecyclerAdapterExtensions with smartExtensions
- β Added RecyclerViewConfigBuilder file
- β Added SmartExtension smart get method for SmartRecyclerAdapter
- β Added getItemCast
- π Fixed OnDetachedFromRecyclerViewListener & OnAttachedToRecyclerViewListener invocations
ViewEvent v1.0.0-beta02
β Added
- β Added identifier override
- β Added androidx.appcompat:appcompat for runtime resolving R.attr.selectableItemBackground
β Removed
- β Removed SmartAdapterBuilderExt with helper methods
π Moved
- π¦ Moved binder and util packages to extensions
Diff Util v1.0.0-beta01
β Added
kotlinx-coroutines-android
for fast threading.lifecycle-runtime-ktx
in combination with coroutines for lifecycle aware launch/cancellation of coroutines.- π·
diffSwapList
async method with lifecycleScope coroutine job launch for heavy data computation. - π·
cancelDiffSwapJob
method to cancel ongoing coroutine job. loadingStateListener
for async loading state callback.
β Removed
- SmartAdapterBuilderExt with extension methods
Nested Adapter v1.0.0-beta01
β Added
- π§
RecyclerViewBinder
invocation for SmartNestedRecyclerViewHolder for easy RecyclerView configuration in SmartAdapterBuilder reuseParentAdapterRecycledViewPool
to reuse parent SmartRecyclerAdapter RecyclerView.RecycledViewPool into nested adapters.
0οΈβ£ Default is shared recycledViewPool for nested adapters
Sticky Header v1.0.0-alpha02
π Moved
- π¦ Moved SmartRecyclerAdapterExtension from binder package to extension
Filter v1.0.0-alpha01
π Initial release contains
kotlinx-coroutines-android
for fast threading.lifecycle-runtime-ktx
in combination with coroutines for lifecycle aware launch/cancellation of coroutines.- Basic implementation of item filtering with targetFilterTypes, loadingStateListener & filter predicate callback.
Previous changes from v5.0.0-beta05
-
Whatβs new
General
- β¬οΈ Bump
smart-recycler-adapter
from5.0.0-beta04
to5.0.0-beta05
.- Feature added
OnAttachedToRecyclerViewListener
&OnDetachedFromRecyclerViewListener
tosmart-recycler-adapter
library
- Feature added
- β¬οΈ Bump
smart-recycler-adapter-viewevent
from 1.0.0-beta01 to 5.0.0-beta02.- Feature enable and disable all selectableItemType for OnMultiItemSelectListener
- β Add initital
smart-recycler-adapter-stickyheader:1.0.0-alpha01
library.
More
- π Fix broken movie data item in sample app
- β Add compileOptions & kotlinOptions to build gradle
- β¬οΈ Bump