Skip to content

Commit fadb317

Browse files
committed
Fix when animator restart , the updateListener was not add again
1 parent c80176f commit fadb317

File tree

1 file changed

+0
-2
lines changed

1 file changed

+0
-2
lines changed

library/src/main/java/com/wang/avi/indicators/BallSpinFadeLoaderIndicator.java

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,6 @@ public void onAnimationUpdate(ValueAnimator animation) {
6767
postInvalidate();
6868
}
6969
});
70-
scaleAnim.start();
7170

7271
ValueAnimator alphaAnim=ValueAnimator.ofInt(255, 77, 255);
7372
alphaAnim.setDuration(1000);
@@ -80,7 +79,6 @@ public void onAnimationUpdate(ValueAnimator animation) {
8079
postInvalidate();
8180
}
8281
});
83-
alphaAnim.start();
8482
animators.add(scaleAnim);
8583
animators.add(alphaAnim);
8684
}

0 commit comments

Comments
 (0)