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
一开始我是重写LinkMovementMethod来实现的,后来简书有位热心的朋友为此做出了一个解决方案,因此就替换成他的控件了。(相关链接:http://www.jianshu.com/p/69b9a6a83373)
然而正如题目,虽然他的方案很好的解决了span和textview里外的点击事件的传递,但造成了题目所说的问题。
这个问题我很早就发现了,但没怎么去修复,今天尝试了一个方案,在onTouch里面,判断clickable的数组长度外强制将所有clickable设为透明背景。
但是那个问题依然会存在,如果您有什么好的方法解决这个问题,欢迎来讨论一下。
The text was updated successfully, but these errors were encountered:
No branches or pull requests
一开始我是重写LinkMovementMethod来实现的,后来简书有位热心的朋友为此做出了一个解决方案,因此就替换成他的控件了。(相关链接:http://www.jianshu.com/p/69b9a6a83373)
然而正如题目,虽然他的方案很好的解决了span和textview里外的点击事件的传递,但造成了题目所说的问题。
这个问题我很早就发现了,但没怎么去修复,今天尝试了一个方案,在onTouch里面,判断clickable的数组长度外强制将所有clickable设为透明背景。
但是那个问题依然会存在,如果您有什么好的方法解决这个问题,欢迎来讨论一下。
The text was updated successfully, but these errors were encountered: