DragSelectTouchHandler touchHandler = new DragSelectTouchHandler(recyclerview, new DragSelectListener() {
@Override
public boolean isSelected(int index) {
return adapter.isSelected(index);
}
@Override
public void onSetSelect(int start, int end, boolean select) {
// update
}
});
dragRV.addOnItemTouchListener(touchHandler);
-
Notifications
You must be signed in to change notification settings - Fork 0
liungkejin/RecyclerViewDragSelect
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
About
实现 recyclerview 的拖动选择(相册多选)
Resources
Stars
Watchers
Forks
Releases
No releases published
Packages 0
No packages published