repeatCount does not work
linfeizheng opened this issue · comments
linfeizheng commented
RichPathAnimator.animate(top)
.interpolator(new DecelerateInterpolator())
.rotation(0, 20, -20, 10, -10, 5, -5, 2, -2, 0)
.duration(4000)
.repeatCount(Integer.MAX_VALUE)
.andAnimate(bottom)
.interpolator(new DecelerateInterpolator())
.rotation(0, 10, -10, 5, -5, 2, -2, 0)
.startDelay(50)
.duration(4000)
.repeatCount(Integer.MAX_VALUE)
.start();
when i use ".repeatCount(Integer.MAX_VALUE)" , the image is quiet
Ahmed Tarek commented
Please use
repeatCount(RichPathAnimator.INFINITE)
and don't use
repeatCount(Integer.MAX_VALUE)