Skip to content

Commit

Permalink
Dev
Browse files Browse the repository at this point in the history
  • Loading branch information
yuriy-budiyev committed Dec 17, 2018
1 parent 29d74bd commit 1792f17
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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());
}
Expand Down

0 comments on commit 1792f17

Please sign in to comment.