Android DragEvent Software End

I use the drag and drop API introduced in version 3.0, however I want the drop shadow to follow the user's finger when they are inside one specific area of ​​the screen. If they drift beyond this, I would like the shadow to go away and the drag event to end. I already did some searches and saw that the API does not support updating the shadow shadow after creation, which was my first plan, but is there a way to stop DragEvent without actually raising my finger?

+4
source share

Source: https://habr.com/ru/post/1483126/


All Articles