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

数据请求回来了,怎么结束下拉刷新或上拉加载 #57

Closed
stoneUoU opened this issue Mar 21, 2019 · 3 comments
Closed

数据请求回来了,怎么结束下拉刷新或上拉加载 #57

stoneUoU opened this issue Mar 21, 2019 · 3 comments

Comments

@stoneUoU
Copy link

No description provided.

@xuelongqy
Copy link
Owner

两种方式。1.使用方法异步内等待同步,可以自动结束;2.调用结束方法,你可以参考相关示例

@stoneUoU
Copy link
Author

没找到结束方法,还有个问题:我配置这个noMoreText: "暂无更多数据",每次上拉加载完成后都会显示,其实数据库中还有好多数据

@xuelongqy
Copy link
Owner

如果 异步方法,没有使用await去等待异步请求,有可能出现这个问题。异步中再使用异步,EasyRefresh无法获取方法的结束时机是不准确的

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