-
Notifications
You must be signed in to change notification settings - Fork 68
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
setOnClickListener fired during swipe #34
Comments
Hi, I have the same problem. Thanks |
nope, i tried many implementation, but none of these prevent the onClick during swipe. if u have better luck please update me. Good luck :) |
found solution: replace SwipeLayout.java's onTouchEvent function with
and create a variable in SwipeLayout.java class
|
I have also found a solution hope it will help you:
Now you can set swipelistner on swipe layout with id swipe_layout and click listener on other views with id view_background and view_foreground |
Is possible to avoid setOnClickListener fired during the swipe gesture?
The text was updated successfully, but these errors were encountered: