You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jan 15, 2022. It is now read-only.
When I long click on an item, then drop it immediately, it performs an onClick event. In one way or another this might be a bug? I have managed to fix this by changing the return value of DragDropGrid#onTouch(View, MotionEvent), instead returning false directly I changed it with super.onThouchEvent(MotionEvent)
I also noticed that when I will long click on an item near (using the emulator my mouse pointer is about 5-10dip near) the delete view (not intersected with the delete view), then drop it, the item will disappear. I have also managed to fix it by calling the touchMove(event); on the first line of DragDropGrid#touchUp(MotionEvent) method.
I don't know if my fixes were correct, but it managed to fix my issues.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
When I long click on an item, then drop it immediately, it performs an onClick event. In one way or another this might be a bug? I have managed to fix this by changing the return value of
DragDropGrid#onTouch(View, MotionEvent)
, instead returning false directly I changed it withsuper.onThouchEvent(MotionEvent)
I also noticed that when I will long click on an item near (using the emulator my mouse pointer is about 5-10dip near) the delete view (not intersected with the delete view), then drop it, the item will disappear. I have also managed to fix it by calling the
touchMove(event);
on the first line ofDragDropGrid#touchUp(MotionEvent)
method.I don't know if my fixes were correct, but it managed to fix my issues.
The text was updated successfully, but these errors were encountered: