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

mRefreshLayout.finishRefreshing(); Issues #8

Open
athirasanthosh opened this issue Sep 17, 2015 · 4 comments
Open

mRefreshLayout.finishRefreshing(); Issues #8

athirasanthosh opened this issue Sep 17, 2015 · 4 comments

Comments

@athirasanthosh
Copy link

mRefreshLayout.finishRefreshing(); is not working properly and some times does not draw back after completing refresh

@xiaxiaotong
Copy link

The first ,if you call completing before CircleAnimationView ondraw REFRESHING the problems will appear,you can add callback in the getOutRatio () method to startRefreshing
The second you should update state to AnimatorStatus.PULL_DOWN when mUpTopAnimator.start(),otherwise it will run many times

@vishalpatel1327
Copy link

hello can any one said what excect to do for solve this .plz
first time it work.
but second time not work.
i dont know why.

update the library or any thing else?
i am new to use github

@yecheng223
Copy link

刷新以后刷新球不消失,怎么操作

@yzcheng90
Copy link

It seems that the time to collect animation is too fast, causing the animation not to be taken away after the refresh, the solution is to delay for 2 seconds.

Observable.timer(2000, TimeUnit.MILLISECONDS)
.subscribeOn(Schedulers.io())
.observeOn(AndroidSchedulers.mainThread())
.subscribe(new Consumer() {
@OverRide
public void accept(Long aLong) throws Exception {
mHeader.setRefreshing(false);
}
});

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

5 participants