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

给StackCardsView设置onClick事件,为什么总是响应不了?查半天没查出来什么原因。 #11

Open
Universeorigin opened this issue Aug 27, 2018 · 3 comments

Comments

@Universeorigin
Copy link

No description provided.

@wensefu
Copy link
Owner

wensefu commented Aug 30, 2018

你不应该对整个控件设置onClick,应该对单张卡片设置OnClick事件。

@wensefu
Copy link
Owner

wensefu commented Aug 30, 2018

不响应是因为控件的onTouchEvent重写了啊。

@Universeorigin
Copy link
Author

多谢,已经调通了,是StackCardsView的onInterceptTouchEvent和onTouchEvent的return有问题。

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