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 96a4cda commit b2c08c7
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
5 changes: 3 additions & 2 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -49,8 +49,9 @@ android {
versionName libraryVersion
}

dexOptions {
javaMaxHeapSize "2048m"
compileOptions {
sourceCompatibility JavaVersion.VERSION_1_6
targetCompatibility JavaVersion.VERSION_1_6
}

buildTypes {
Expand Down
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((Float) animation.getAnimatedValue());
}
}

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

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

Expand Down

0 comments on commit b2c08c7

Please sign in to comment.