CircleRefreshLayout icon indicating copy to clipboard operation
CircleRefreshLayout copied to clipboard

调用finishRefreshing后,mIsRefreshing置位false失效

Open suchen2 opened this issue 7 years ago • 2 comments

finishRefreshing方法调用后,会走mHeader.setRefreshing(false); 动画正常结束,但是一直是下拉后的样子,不回到顶部. 在再一次下拉的时候就回去了.

suchen2 avatar Jun 05 '18 09:06 suchen2

解决了吗,我的也这样...

jy231613 avatar Jun 19 '18 02:06 jy231613

在Activity中正常使用,fragment中出现了同样的问题,已解决。在CircleRefreshLayout.setUpChildAnimation中更改如下语句 mUpTopAnimator = ValueAnimator.ofFloat(mHeaderHeight,0);改为 mUpTopAnimator = ValueAnimator.ofFloat(mHeaderHeight-1,0);便可以。

867339205 avatar Dec 11 '19 07:12 867339205