CircleRefreshLayout icon indicating copy to clipboard operation
CircleRefreshLayout copied to clipboard

mRefreshLayout.finishRefreshing(); Issues

Open athirasanthosh opened this issue 9 years ago • 4 comments

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

athirasanthosh avatar Sep 17 '15 10:09 athirasanthosh

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

xiaxiaotong avatar Sep 21 '15 03:09 xiaxiaotong

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

vishalpatel1327 avatar Nov 20 '15 07:11 vishalpatel1327

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

yecheng223 avatar May 27 '17 08:05 yecheng223

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<Long>() { @Override public void accept(Long aLong) throws Exception { mHeader.setRefreshing(false); } });

yzcheng90 avatar Feb 27 '18 02:02 yzcheng90