DragSortRecycler
DragSortRecycler copied to clipboard
Fix for properly ending dragging.
It seems that the dragging mode is not always properly terminated via the following sequence:
- Press on the first item
- Drag finger up to the top of the screen (forcing an ACTION_CANCEL)
- Then tap on the first item again In this case there does not seem to be a call to setIsDragging(false). What happened for me is that the item decoration is not properly restored. There might be a better way to handle this situation than what I did in this PR, but I'm sure you can clean it up. :)
Hey thanks for this, will take a look in a bit but looks good. THANK YOU!
Are you still maintaining your code?