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
recyclerview item中使用时,第一次没问题,当列表滚动到该item销毁,然后再滚回来再次渲染时,这时长按textview会崩溃。
The text was updated successfully, but these errors were encountered:
可以看看相关的崩溃日志,该项目作为实验性的,并未能兼容全部的使用场景。
Sorry, something went wrong.
因为recyclerview会滑出屏幕时,在addOnAttachStateChangeListener中销毁控件内部对象,你在滑动回来里面的对象都是null,当然崩溃。(ps.这个项目给了我做文本选择很大启发,3q作者)
No branches or pull requests
recyclerview item中使用时,第一次没问题,当列表滚动到该item销毁,然后再滚回来再次渲染时,这时长按textview会崩溃。
The text was updated successfully, but these errors were encountered: