Skip to content
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

ACTION_UP and ACTION_CANCEL not fired. #6

Closed
kyze8439690 opened this issue Sep 21, 2014 · 4 comments
Closed

ACTION_UP and ACTION_CANCEL not fired. #6

kyze8439690 opened this issue Sep 21, 2014 · 4 comments

Comments

@kyze8439690
Copy link

I use RippleDrawable in ListView Adapter's getView method, when I pressed and hold, it work normally, but if I pressed and hold and then scroll, onFingerUp() do not get fired.

@ozodrukh
Copy link
Owner

Thanks for feedback, i got fixed issue 👍 Good Luck:)

@kyze8439690
Copy link
Author

Nice fix, but now it does't call OnItemClickListener in AdapterView, I try to call v.onTouchEvent(event) in ACTION_UP and ACTION_CANCEL sections, but it still doesn't work. :(

@kyze8439690
Copy link
Author

If return true in ACTION_DOWN, means that the item view will consume the following touch event, and the AdapterView should not intercept the following touch events, then OnItemClickListener or somethine else will never be fired, maybe setOnClickListener in Adapter 's getView method will be a way.

@ozodrukh
Copy link
Owner

Got it, i will try to fix them) Thanks for sharing the problem)

@ozodrukh ozodrukh reopened this Sep 21, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants