为什么动画会影响idleHandler?

时间:2019-06-17 13:07:50

标签: android android-animation android-looper

此代码运行后将不执行idleHandler:

if (operatingAnim == null) {
    operatingAnim = AnimationUtils.loadAnimation(BocaiApplication.getInstance(), R.anim.rotate);
    operatingAnim.setInterpolator(new LinearInterpolator());
}
iv.clearAnimation();
iv.startAnimation(operatingAnim);

0 个答案:

没有答案