We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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没有执行。
The text was updated successfully, but these errors were encountered:
(。・∀・)ノ゙嗨,Jibinghao,点击事件解决了没,我这边也有这个需求,
Sorry, something went wrong.
我的思路是:弹幕的bean中保存自己当前的rect(随着滚动更新),然后获取点击的坐标,遍历当前显示在surfaceview中的弹幕,看这个坐标是否在自己的rect中,然后返回这个bean
我用虎牙看直播的时候, 如果要举报弹幕,它是单独给你一个list列表,屏幕上的弹幕是不能点击的。因为要实现点击弹幕操作的话,首先弹幕要暂停,然后响应这个点击事件,这个需求感觉并不是很合理
No branches or pull requests
我这边有个需求,点击弹幕的时候需要进行举报等操作,试了在子布局加setOnClickListener没有执行。
The text was updated successfully, but these errors were encountered: