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

recyclerview使用中有bug。 #5

Open
caprice opened this issue Oct 30, 2017 · 2 comments
Open

recyclerview使用中有bug。 #5

caprice opened this issue Oct 30, 2017 · 2 comments

Comments

@caprice
Copy link

caprice commented Oct 30, 2017

recyclerview item中使用时,第一次没问题,当列表滚动到该item销毁,然后再滚回来再次渲染时,这时长按textview会崩溃。

@laobie
Copy link
Owner

laobie commented Oct 31, 2017

可以看看相关的崩溃日志,该项目作为实验性的,并未能兼容全部的使用场景。

@xinjiuyijiu
Copy link

因为recyclerview会滑出屏幕时,在addOnAttachStateChangeListener中销毁控件内部对象,你在滑动回来里面的对象都是null,当然崩溃。(ps.这个项目给了我做文本选择很大启发,3q作者)

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

3 participants