All Versions
30
Latest Version
Avg Release Cycle
96 days
Latest Release
365 days ago

Changelog History
Page 1

  • v1.0.0

    December 16, 2018

    [Breaking changes]

    • Migrated to AndroidX
    • ✂ Removed some deprecated features
      • BaseWrapperAdapter
      • SwipeableItemConstants.REACTION_CAN_SWIPE_BOTH
      • SwipeableItemConstants.REACTION_CAN_NOT_SWIPE_BOTH
      • SwipeableItemConstants.REACTION_CAN_NOT_SWIPE_BOTH_WITH_RUBBER_BAND_EFFECT
    • 🆕 New DraggableItemState getDragState() method added to the DraggableItemViewHolder interface
    • 🆕 New SwipeableItemState getSwipeState() method added to the SwipeableItemViewHolder interface
    • 🆕 New ExpandableItemState getExpandState() method added to the ExpandableItemViewHolder interface

    [New features & improvements]

    • Introduced DraggableItemState, no more DraggableItemConstants.STATE_FLAG_** bit operations required anymore in user code
    • Introduced SwipeableItemState, no more SwipeableItemConstants.STATE_FLAG_** bit operations required anymore in user code
    • Introduced ExpandableItemState, no more ExpandableItemConstants.STATE_FLAG_** bit operations required anymore in user code
    • Annotated many public method with @NonNull or @Nullable

    🍱 👉 Migration guide from v0.11.0 to v1.0.0

  • v0.11.0

    October 29, 2017

    [Breaking changes]

    • 🔄 Changed minimum SDK level to v14
    • 🆕 New callbacks are added to SwipeableItemAdapter and DraggableItemAdapter

    [New features & improvements]

    • ⬆️ Bumped Support libraries to v27.0.0
    • A new callback onItemSwipeStarted() is added to SwipeableItemAdapter to reduce implicitly calls of the notifyDataSetChanged() method.

    Migration code:

      @Override
      public void onSwipeItemStarted(MyViewHolder holder, int position) {
          notifyDataSetChanged(); // or you can implement better invalidation code here
      }
    
    • 🆕 New callbacks onItemDragStarted() and onItemDragFinished() are added to DraggableItemAdapter to reduce implicitly calls of the notifyDataSetChanged() method.

    Migration code:

      @Override
      public void onItemDragStarted(int position) {
          notifyDataSetChanged(); // or you can implement better invalidation code here
      }
    
      @Override
      public void onItemDragFinished(int fromPosition, int toPosition, boolean result) {
          notifyDataSetChanged(); // or you can implement better invalidation code here
      }
    
  • v0.10.6

    May 06, 2017

    🛠 [Bug fixes]

    • 🛠 Fixed some internal wrapper adapter's onViewRecycled() method is not invoked (issue #376)
    • 🛠 Fixed unexpected onClick() event fired after finished dragging item (issue #378)

    [New features]

    • ➕ Added RecyclerViewSwipeManager.performFakeSwiping (issue #372)

    [Improvements]

    • 🔄 Changed to preserve item scaling when starts dragging (issue #384)
  • v0.10.5

    March 25, 2017

    🛠 [Bug fixes]

    • Fixed View.OVER_SCROLL_NEVER not work when dragging (issue #374)

    [Improvements]

    • 🔦 Expose path segments for header footer adapter (PR #368, #373)
    • ⚡️ Updated support library to v25.3.0
  • v0.10.4

    February 25, 2017

    [BREAKING CHANGE]

    • 🛰 The payload parameter is added to OnGroupExpandListener and OnGroupCollapseListener (issue #350) (commit: 353406ea43657dead1ba65207b95e9067e457f6d)

    [New features]

    • ➕ Added fine control of initial state of group items by ExpandableItemAdapter.getInitialGroupExpandedState() (issue #346)
    • ➕ Added variants of expandGroup()/collapseGroup() methods which has a payload parameter (issue #350)

    🛠 [Bug fixes]

    • 🛠 Fixed NullPointerException issue (issue #358 & PR #362, thanks @polyak01 !)
    • 🛠 Fix swipe amount not applied before laid out item views in proportional mode (issue #361)

    [Improvements]

    • ➕ Added scrolling support while dragging in NestedScrollView (issue #351)
    • ⚡️ Updated support library to v25.2.0
  • v0.10.3

    January 21, 2017

    🛠 [Bug fixes]

    • 🛠 Fixed IllegalStateException on touching a group item while RecyclerView is calculating layout (issue #339)
    • 🛠 Fixed onBindGroupViewHolder()/onBindChildViewHolder() method with palyloads parameter not used bug

    [Improvements]

    • ⬇️ Reduce overdraws of "Button under swipeable item" (PR #331, thx. @AnirudhaAgashe)
    • ⚡️ Updated support library to v25.1.0
  • v0.10.2

    November 27, 2016

    🛠 [Bug fixes]

    • 🛠 Fixed createDraggingItemImage() method regression (issue #325)
  • v0.10.1

    November 26, 2016

    [Improvements]

    • ⚡️ Updated support library to v25.0.1

    🛠 [Bug fixes]

    • ♻️ Backport official DefaultItemAnimator fixes to RefactoredDefaultAnimator (issue #324)
    • 👌 Improve dragging item image bitmap creation process (issue #319)
  • v0.10.0

    October 24, 2016

    [New features]

    • Introduced ComposedAdapter
    • 👍 Introduced Headers and Footers support
    • ➕ Added new demos for new adapter related features
    • Made dragging item appearance controllable (issue #193, #292)
    • 🚧 Added AFTER_SWIPE_REACTION_DO_NOTHING (pull request #308)
    • ➕ Added SwipeResultActionDoNothing and SwipeResultActionMoveToOrigin

    [Improvements]

    • ⚡️ Updated support library to v25.0.0

    🛠 [Bug fixes]

    • 🛠 Small bug fixes
  • v0.9.3

    July 31, 2016

    [New features]

    • ➕ Added RecyclerViewExpandableItemManager.setDefaultGroupsExpandedState(boolean expanded) (issue #281)
    • ➕ Added SwipebleItemViewHolder.setProportionalSwipeAmountModeEnabled(boolean enabled) (issue #286)
    • ➕ Added RecyclerViewExpandableItemManager.notifyGroupItemChanged(int groupPosition, Object payload)

    🛠 [Bug fixes]

    • 🛠 Fixed item sliding animation not working bug (issue #285)