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

下拉刷新的会显示一下空布局,可以完善下吗?有知道的大佬能提供下解决方案吗 #282

Open
myfGitup opened this issue Dec 6, 2018 · 1 comment

Comments

@myfGitup
Copy link

myfGitup commented Dec 6, 2018

用这个库的时候在布局里设置了空布局,用于没数据时显示,但是现在发现只要一下拉刷新就会出现空布局,之后是正常数据,给人的感觉很奇怪,情作者留意观察下,并告知解决方案,谢谢

@ciscolxh
Copy link

估计你在网络请求前就clear数据了 ,把clear加在adapter.addAll之前

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

2 participants