Skip to content

Commit

Permalink
Dev
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriy-budiyev committed May 28, 2018
1 parent b2c08c7 commit cc4576a
Showing 1 changed file with 3 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -739,22 +739,22 @@ private static Paint.Cap getStrokeCap(final int value) {
private final class ProgressUpdateListener implements ValueAnimator.AnimatorUpdateListener {
@Override
public void onAnimationUpdate(final ValueAnimator animation) {
setProgressInternal((Float) animation.getAnimatedValue());
setProgressInternal(((Number) animation.getAnimatedValue()).floatValue());
}
}

private final class StartUpdateListener implements ValueAnimator.AnimatorUpdateListener {
@Override
public void onAnimationUpdate(final ValueAnimator animation) {
mIndeterminateStartAngle = (Float) animation.getAnimatedValue();
mIndeterminateStartAngle = ((Number) animation.getAnimatedValue()).floatValue();
invalidate();
}
}

private final class SweepUpdateListener implements ValueAnimator.AnimatorUpdateListener {
@Override
public void onAnimationUpdate(final ValueAnimator animation) {
mIndeterminateSweepAngle = (Float) animation.getAnimatedValue();
mIndeterminateSweepAngle = ((Number) animation.getAnimatedValue()).floatValue();
}
}

Expand Down

0 comments on commit cc4576a

Please sign in to comment.