diff --git a/src/main/java/com/budiyev/android/circularprogressbar/CircularProgressBar.java b/src/main/java/com/budiyev/android/circularprogressbar/CircularProgressBar.java index 5ea3d23..45ee5ef 100644 --- a/src/main/java/com/budiyev/android/circularprogressbar/CircularProgressBar.java +++ b/src/main/java/com/budiyev/android/circularprogressbar/CircularProgressBar.java @@ -124,11 +124,11 @@ public boolean isIndeterminate() { * Indeterminate mode, disabled by default */ public void setIndeterminate(final boolean indeterminate) { - cancelProgressAnimation(); cancelIndeterminateAnimations(); mIndeterminate = indeterminate; invalidate(); if (mVisible && indeterminate) { + cancelProgressAnimation(); startIndeterminateAnimations(); } }