如何禁止动画(取消()不工作)动画、工作

2023-09-12 04:00:07 作者:结交去流浪

我需要停止运行转换动画。的 .cancel()方法动画没有效果,动画云才结束呢。

I need to stop running translate animation. The .cancel() method of Animation has no effect, the animation goes until the end anyway.

你如何取消正在运行的动画?

How do you cancel a running animation?

推荐答案

呼叫 clearAnimation()的任何查看你叫 startAnimation()