Skip to content

liungkejin/RecyclerViewDragSelect

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

RecyclerViewDragSelect

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);

About

实现 recyclerview 的拖动选择(相册多选)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages