Skip to content

Commit d5694f8

Browse files
committed
Fixed sample project for android 4.0 (api 14)
1 parent 144e826 commit d5694f8

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

library/src/de/passsy/holocircularprogressbar/HoloCircularProgressBar.java

+8
Original file line numberDiff line numberDiff line change
@@ -444,6 +444,14 @@ private void setWheelSize(final int dimension) {
444444
mCircleStrokeWidth = dimension;
445445
}
446446

447+
public float getMarkerProgress() {
448+
return mMarkerProgress;
449+
}
450+
451+
public float getProgress() {
452+
return mProgress;
453+
}
454+
447455
/**
448456
* Gets the progress color.
449457
*

sample/src/de/passsy/circularprogressbarsample/CircularProgressBarSample.java

-1
Original file line numberDiff line numberDiff line change
@@ -88,7 +88,6 @@ private void animate(final HoloCircularProgressBar progressBar, final AnimatorLi
8888
final float progress = (float) (Math.random() * 2);
8989
final ObjectAnimator progressBarAnimator = ObjectAnimator.ofFloat(progressBar, "progress", progress);
9090
progressBarAnimator.setDuration(3000);
91-
progressBarAnimator.setupEndValues();
9291

9392
progressBarAnimator.addListener(new AnimatorListener() {
9493

0 commit comments

Comments
 (0)