CreditSesameRingView icon indicating copy to clipboard operation
CreditSesameRingView copied to clipboard

我想知道我页面刷新时,进度条还想让他再走一次,怎么破?

Open LeeHongFei opened this issue 8 years ago • 1 comments

LeeHongFei avatar Sep 04 '17 10:09 LeeHongFei

@LeeHongFei 在startAnim()方法里,有这样一句:

    ValueAnimator mAngleAnim = ValueAnimator.ofFloat(mCurrentAngle, mTotalAngle);

把这里的mCurrentAngle改成0,就可以了。。(好像应该是0f来着?)。相当于每次动画的绘制都是从0开始,就会在每次刷新的时候,进度条都从头走一遍了。

cheetah747 avatar Jan 11 '18 08:01 cheetah747