-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
下拉松手后回弹有时无法回到初始位置,导致下拉动作没有完整完成,影响下一次下拉 #239
Comments
start141
added a commit
to start141/android-Ultra-Pull-To-Refresh
that referenced
this issue
Jun 3, 2016
start141
changed the title
下拉松手后回弹有时无法回到初始位置,从而导致下拉动作没有完整完成
下拉松手后回弹有时无法回到初始位置,导致下拉动作没有完整完成,影响下一次下拉
Jun 3, 2016
@liaohuqiu 我也发现这个问题 求解决 |
@liaohuqiu 给Scroller加上Interpolator就会出现回不到初始位置的情况~这个要如何解决呢 |
@sam-taozhishan 你可以看下 #240 |
@start141 好的,感谢 |
也发现此bug |
start141
added a commit
to start141/android-Ultra-Pull-To-Refresh
that referenced
this issue
Aug 23, 2016
有解决方法吗? |
PtrFrameLayout.java 类里面下面这个变量初始化存在bug
改为
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这是正常回弹后回到初始位置的截图
这是
回弹未回到初始位置
时的截图(为了方便展现问题,我把背景设置成了红色)当出现下拉松手后回弹最终未停留在初始位置时,就会导致一个完整的下拉动作未完成,
进一步导致
用户尝试再一次下拉时不会触发新的下拉加载事件
(UI上表现为下拉松手后会立马回弹
,并不会触发onUIRefreshBegin)。通过打印Log发现此时onUIRefreshComplete之后没有回调onUIReset,Log如下:
如果你想要快速复现此bug,可以加大headerView的高度,同时缩减回调时间。
The text was updated successfully, but these errors were encountered: