Support to drag on long press
At the moment, you are only allowed to drag items with a handler. A common and useful design pattern is also to be able to drag and drop items on long press on the item. Could it be possible to add this feature to your lib ? Thanks.
OK sure, I'll take a look. I'll leave this open until done. Thanks
I would also like to see long press support.
@emileb any plans on this ?? i have tried to implement long press with GestorDetector but unfortunately, i didn't have a good result because long press is never detected, any tip from you ?
If anyone (like me) was looking for a solution in this issue, I ended up using a hack. I start the RecyclerView with DragSortRecycler.setLeftDragArea(0), and then, the long press just set this value to the view's width, enabling the drag. When the drag is completed, I set the value to zero again.