如何禁止动画(取消()不工作) [英] How to stop an animation (cancel() does not work)
本文介绍了如何禁止动画(取消()不工作)的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我需要停止运行转换动画。的 .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()
。
这篇关于如何禁止动画(取消()不工作)的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文