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

上拉或下拉可能连续触发 #1

Open
AhhhhDong opened this issue Sep 1, 2017 · 1 comment
Open

上拉或下拉可能连续触发 #1

AhhhhDong opened this issue Sep 1, 2017 · 1 comment

Comments

@AhhhhDong
Copy link

很不错,但是有一点问题。例如下拉时,我请求数据花了大概几秒,在这几秒上拉动画期间,如果我再连续下滑,就会触发多次刷新事件。上拉同理,请问能否在一次动画期间屏蔽其他上拉下拉操作呢。

@dengzq
Copy link
Owner

dengzq commented Sep 2, 2017

原意是为了在 用户请求 没回来的情况下,不至于让视图停止在loading的状态,所以允许手动让 刷新布局回到初始位置。下个版本我再增加一个请求的过滤,让回调只走一次。

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