From 1792f17db850f4afc0b16d400c3dc914feaffabd Mon Sep 17 00:00:00 2001 From: Yuriy Budiyev Date: Mon, 17 Dec 2018 16:53:01 +0300 Subject: [PATCH] Dev --- .../android/circularprogressbar/CircularProgressBar.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/main/java/com/budiyev/android/circularprogressbar/CircularProgressBar.java b/src/main/java/com/budiyev/android/circularprogressbar/CircularProgressBar.java index 38a47b3..9c01271 100644 --- a/src/main/java/com/budiyev/android/circularprogressbar/CircularProgressBar.java +++ b/src/main/java/com/budiyev/android/circularprogressbar/CircularProgressBar.java @@ -677,10 +677,10 @@ private void initialize(@NonNull final Context context, @Nullable final Attribut mIndeterminateRotationAnimator.setFloatValues(360f); mIndeterminateRotationAnimator.setRepeatMode(ValueAnimator.RESTART); mIndeterminateRotationAnimator.setRepeatCount(ValueAnimator.INFINITE); - mIndeterminateRotationAnimator.setInterpolator(new DecelerateInterpolator()); + mIndeterminateRotationAnimator.setInterpolator(new LinearInterpolator()); mIndeterminateRotationAnimator.addUpdateListener(new StartUpdateListener()); mIndeterminateSweepAnimator.setFloatValues(360f - mIndeterminateMinimumAngle * 2f); - mIndeterminateSweepAnimator.setInterpolator(new LinearInterpolator()); + mIndeterminateSweepAnimator.setInterpolator(new DecelerateInterpolator()); mIndeterminateSweepAnimator.addUpdateListener(new SweepUpdateListener()); mIndeterminateSweepAnimator.addListener(new SweepAnimatorListener()); }