Skip to content

Releases: idanatz/OneAdapter

v1.5.2

01 Jul 08:33
Compare
Choose a tag to compare

Version 1.5.2

  • Improved ItemSelectionModule with the ability to:
    • Start manual selection
    • New callbacks: onSelectionStarted, onSelectionEnded
    • New queries: isSelectionActive & isPositionSelected
  • Improved SwipeEventHook with Up and Down swipe direction support
  • Breaking Changes:
    • Right and Left swiping direction changed to Start and End for better support LTR and RTL

v1.5.1

01 Jul 08:34
Compare
Choose a tag to compare

Version 1.5.1

  • Fixed Bug: recycler view crash due to race condition with background and ui threads while request multiple diffing quickly
  • Breaking Changes:
    • Wrapped event hooks models with Item object in order to get additional information like item position, isSelected, etc... (using the Metadata object)

v1.5.0

01 Jul 08:35
Compare
Choose a tag to compare

Version 1.5.0

  • Fixed Bug: clear() not triggering onBind of emptiness module when the adapter was already empty
  • Breaking Changes:
    • Wrapped each model with Item object in all module's OnBind and onUnbind call in order to get additional information like item position, isSelected, etc... (using the Metadata object)
    • Removed modules actions class, each module now holds its own actions

v1.4.1

01 Jul 08:35
Compare
Choose a tag to compare

Version 1.4.1

  • Added the ability to get view types from the adapter to support GridLayoutManager.SpanSizeLookup
  • Added more tests to cover paging

v1.4.0

01 Jul 08:35
Compare
Choose a tag to compare

Version 1.4.0

  • Added support for ButterKnife and DataBinding
  • Added more utility functions like item visibility
  • Added examples for nested RecyclerView, ButterKnife and DataBinding in the sample project
  • Fixed Bug: Sync issues with background and ui threads when using nested RecyclerViews with OneAdapter
  • Breaking Changes:
    • ViewBinder getRootView function changed to a property
    • Added HookConfig for SwipeEventHook to specify the supported swipe directions

v1.3.0

01 Jul 08:36
a9f5bb0
Compare
Choose a tag to compare

Version 1.3.0

  • Added First Bind Animation Config
  • Improved threading mechanism
  • Added common UI tests
  • Breaking Changes:
    • RecyclerView is now a constructor parameter instead of an attachment function
    • OnUnbind functions now includes the model as a parameter

v1.2.0

01 Jul 08:36
Compare
Choose a tag to compare

Version 1.2.0

  • Change: Diffable is now mandatory when working with OneAdapter
  • Bug Fixes:
    • Paging Module not working properly with some layout manager
    • onUnbind call now called when the view is recycled instead of detached from window

v1.1.1

01 Jul 08:36
Compare
Choose a tag to compare

Version 1.1.1

  • Removed the res folder to prevent conflicts

v1.1.0

01 Jul 08:37
65d82d6
Compare
Choose a tag to compare

Version 1.1.0

  • Event Hooks:
    • Swipe Event Hook
  • Bug fixes related to the diffing mechanism
  • Removed unnecessary lines from manifest

v1.0.0

01 Jul 08:37
5043941
Compare
Choose a tag to compare

Version 1.0.0

First Release Includes:

  • Modules:
    • Item Module
    • Emptiness Module
    • Paging Module
    • Selection Module
  • Event Hooks:
    • Click Event Hook
  • Diffable Interface