Revert the dragView "clickable" state after using setDragView
Created by: abarisain
Hello,
I have been toying with setDragView
, alternating between a view and null based on some conditions (my sliding panel embeds a viewpager, and based on its page I want to restrict the drag area), and I found a little bug with it :
setDragView marks the new dragview as clickable, but never reverts it (even though it clears the OnClickListner) : I didn't except that to happen, and it made a weird bug.
The ideal solution would be to store the old state and restore it, or put it back to false (but that can create the opposite problem)