SmartRecyclerAdapter v5.0.0-rc01 Release Notes

Release Date: 2020-10-19 // 12 months 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 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.
      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 from 5.0.0-beta04 to 5.0.0-beta05.
      • Feature added OnAttachedToRecyclerViewListener & OnDetachedFromRecyclerViewListener to smart-recycler-adapter library
    • ⬆️ 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