Skip to content

v5.0.0-rc01

Pre-release
Pre-release
Compare
Choose a tag to compare
@manneohlund manneohlund released this 19 Oct 10:57
aad30be

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 from 5.0.0-beta05 to 5.0.0-rc01.
  • Bump smart-recycler-adapter-nestedadapter from 1.0.0-alpha01 to 1.0.0-beta01.
  • Bump smart-recycler-adapter-diffutil from 1.0.0-alpha01 to 1.0.0-beta01.
  • Bump smart-recycler-adapter-viewevent from 1.0.0-beta02 to 1.0.0-beta03.
  • Bump smart-recycler-adapter-stickyheader from 1.0.0-alpha01 to 1.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.
    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.