Android-SwipeToDismiss
Android-SwipeToDismiss copied to clipboard
Fixing wrong view get ACTION_CANCEL event
When the same listener is attached to the root view and a child view (like a EditText), the ACTION_CANCEL should be sent to the view receiving the events (like in the above case, EditText should not show the "Paste" option).