Skip to content

Commit

Permalink
Merge pull request #2852 from LegendaryMystic/patch-1
Browse files Browse the repository at this point in the history
fixed a little bug in ItemDragAndSwipeCallback.java
  • Loading branch information
shichaohui authored Aug 13, 2019
2 parents f30a4de + a0fbc92 commit 1522eef
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ public ItemDragAndSwipeCallback(DraggableController draggableController) {

@Override
public boolean isLongPressDragEnabled() {
return mAdapter.isItemDraggable() && !mAdapter.hasToggleView();
return mBaseItemDraggableAdapter.isItemDraggable() && !mBaseItemDraggableAdapter.hasToggleView();
}

@Override
Expand Down

0 comments on commit 1522eef

Please sign in to comment.