lsjwzh / MaterialLoadingProgressBar

MaterialLoadingProgressBar provide a styled ProgressBar which looks like SwipeRefreshLayout's loading indicator(support-v4 v21+)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

If you keep it running too long..

tomdevdev opened this issue · comments

commented

If you keep it running too long, it breaks. I left it running in the emulator(for hours I guess), and now the circle stays filled for a few seconds on every spin.

2015-02-17 17_11_05-5554_nexus_one_api_21

Thanks for your feedback.
I am tracing this problem.It may be caused by EndCurveInterpolator and StartCurveInterpolator.
As you know, the span angle is produced by "startAngle - endAngle",but when the app running too long,
EndCurveInterpolator and StartCurveInterpolator will make a offset larger than 360 degree.That is why the circle stays filled for a few seconds.
I have fixed it at verison 0.4.