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

关于懒加载,加载过的fragment切换后会空白 #2783

Closed
Lee380822516 opened this issue Jun 14, 2019 · 3 comments
Closed

关于懒加载,加载过的fragment切换后会空白 #2783

Lee380822516 opened this issue Jun 14, 2019 · 3 comments

Comments

@Lee380822516
Copy link

我最原始的方法构建Adapter,没有任务问题
用该库的BaseQuickAdapter就会出现加载过的fragment,切换(现在A切换到B,B切换到C,A就空白了,A切换到B,B到A,是正常的)后空白

@AllenCoder
Copy link
Collaborator

加载过的fragment被回收导致空白,BaseQuickAdapter没有对view的加载做过特殊处理,建议查看是否是recyclerview复用或者内存不足回收了fragment导致的空白,进一步排查问题

@limuyang2
Copy link
Collaborator

可否提供一份你的demo

@CymChad
Copy link
Owner

CymChad commented Jul 21, 2019

请根据规范提问 #2807

@CymChad CymChad closed this as completed Jul 21, 2019
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

4 participants