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

下拉刷新不会结束,上拉加载是正常的 #355

Closed
623034345 opened this issue Aug 31, 2020 · 4 comments
Closed

下拉刷新不会结束,上拉加载是正常的 #355

623034345 opened this issue Aug 31, 2020 · 4 comments

Comments

@623034345
Copy link

image

数据返回后 调用了如下三个方法:
_controller.resetLoadState();
_controller.finishLoad();
_controller.finishRefresh(noMore: false);
这时候发现上拉加载正常 但是下拉刷新的时候不会结束,奇怪的是上拉加载一次再执行下拉刷新就正常了,但是再次下拉刷新的时候 仍然不正常
image
经过断点调试发现 这个finishRefreshCallBack 打印是null 所以判断无法进入 但是我下拉刷新完全按照demo 的写法 不应该有这种问题

@YangJ0720
Copy link

下拉刷新的时候,快速滑动到底部上拉加载更多,会导致上拉加载直接显示加载完毕(实际上并没有执行上拉加载的操作)

@623034345
Copy link
Author

我这个是直接下拉刷新就不会结束 一直转圈
_controller.resetLoadState();
_controller.finishLoad();
_controller.finishRefresh(noMore: false);
这三个方法都调用了 还是不结束 打断点是因为这个finishRefreshCallBack ==null 导致的 不知道为什么

@xuelongqy
Copy link
Owner

2.1.6已修复

@KimiSet
Copy link

KimiSet commented Jan 20, 2021

下拉刷新的时候,快速滑动到底部上拉加载更多,会导致上拉加载直接显示加载完毕(实际上并没有执行上拉加载的操作)------该问题修复了吗?

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