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
如果一个TextView 里面的内容有ClickableSpan 事件,还添加使用BaseViewHolder.addOnClickListener() 为这个TextView 添加点击事件,那么当点击含有ClickableSpan 的字体的时候就会触发两个点击事件。
注:如果使用TextView.setOnClickListener 添加的item 点击事件就不会出发两个点击事件。
The text was updated successfully, but these errors were encountered:
目前针对目前针对Spannable还没有完美的解决办法,建议独立添加点击事件。后续会对这个功能进行扩展和完善
Sorry, something went wrong.
#500 待优化
请问ClickableSpan的点击事件和列表中item的点击事件互相冲突,怎么解决?
No branches or pull requests
如果一个TextView 里面的内容有ClickableSpan 事件,还添加使用BaseViewHolder.addOnClickListener() 为这个TextView 添加点击事件,那么当点击含有ClickableSpan 的字体的时候就会触发两个点击事件。
注:如果使用TextView.setOnClickListener 添加的item 点击事件就不会出发两个点击事件。
The text was updated successfully, but these errors were encountered: