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
RefreshAndMoreActivity activity_loadmore.xml 中添加了 view_empty.xml . 因为在实际应用中我们是需要请求网络的,那么请求网络会需要一定的时间,源码中,下拉刷新中 adapter.clear(); 会导致布局文件中的view_empty.xml显示,如图 所以这个该怎么处理,这个会影响用户的体验
The text was updated successfully, but these errors were encountered:
大佬,我等待着你的回复
Sorry, something went wrong.
在数据请求回来,做adpater.clear();会好一点的,有木有优化的方案。 模拟网路后,当page++的时候做下面的操作
我看的你的代码是刷新时候不管什么首先先把数据clear了。这个就是错误的。并且没有网络不应该是showError之类的一个view吗,为啥没有网络的时候执行加载更多。正正的刷新数据应该执行在addAll之前
No branches or pull requests
RefreshAndMoreActivity activity_loadmore.xml 中添加了 view_empty.xml . 因为在实际应用中我们是需要请求网络的,那么请求网络会需要一定的时间,源码中,下拉刷新中 adapter.clear(); 会导致布局文件中的view_empty.xml显示,如图
所以这个该怎么处理,这个会影响用户的体验
The text was updated successfully, but these errors were encountered: