DragSelectRecyclerView icon indicating copy to clipboard operation
DragSelectRecyclerView copied to clipboard

How to select only single line in vertically

Open NiravPotenza opened this issue 5 years ago • 3 comments

please help me to get only vertical item selection like this using drag only 1579528493996

NiravPotenza avatar Jan 20 '20 13:01 NiravPotenza

@MFlisar can u please guide me for the same

NiravPotenza avatar Jan 21 '20 04:01 NiravPotenza

This is not part of my library. You can try to add it yourself.

Suggestion Implement the logic inside your code yourself in this line: https://github.com/MFlisar/DragSelectRecyclerView/blob/9d8b02e89568ab5507564626f1231d82babe1e5a/demo/src/main/java/com/michaelflisar/dragselectrecyclerview/demo/MainActivity.java#L77

Save the first position in this callback (if calledFromOnStart == true) and implement your logic yourself (only select the items between start and end which columns are the same as the one from the first item)

MFlisar avatar Jan 31 '20 07:01 MFlisar

yes i m trying for the same but can u please let me know why it's not working in nested scrollview

NiravPotenza avatar Feb 08 '20 06:02 NiravPotenza