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

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

Open
LeeHongFei opened this issue Sep 4, 2017 · 1 comment

Comments

@LeeHongFei
Copy link

No description provided.

@cheetah747
Copy link

cheetah747 commented Jan 11, 2018

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

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

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

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