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

频繁下拉刷新会出现 headerview 悬浮不停下 #125

Open
combing520 opened this issue Jan 19, 2018 · 3 comments
Open

频繁下拉刷新会出现 headerview 悬浮不停下 #125

combing520 opened this issue Jan 19, 2018 · 3 comments

Comments

@combing520
Copy link

作者你好 :

 我频繁【模拟快速的进行下拉刷新,大约每秒一到二次的调用】的进行下拉刷新,然后发现 XRefreshView 中的 headerView 会一直悬浮下来,然后不会退回
@yc654084303
Copy link

我也遇到了,请问解决了嘛

@lijheng
Copy link

lijheng commented Nov 5, 2018

是不是SimpleXRefreshViewListener未执行,我刚刚也遇到了这个情况,看日志中有一行这样的信息:Result available, null observers for user: 0

@YesAndroidBox
Copy link

YesAndroidBox commented Jul 16, 2019

这个问题我也遇到了,我的调查结果是至少悬停一秒导致的。
在快速刷新的时候,上一次页面回弹还没有结束下一次回弹已经开始请求。
以下修正方案是取消掉异步变成同步去处理回弹。
希望能帮助到大家。
XRefreshView.java
 private int mPinnedTime = 1000
private int mPinnedTime = 0

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