v5.0.0-rc01
Pre-release
Pre-release
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 SmartAdapterBuilderreuseParentAdapterRecycledViewPool
to reuse parent SmartRecyclerAdapter RecyclerView.RecycledViewPool into nested adapters.
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.