Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在运行一个TranslateAnimation,我需要能够在动画的每个“帧”上获得翻译值。尝试过AnimationListener,但似乎它只听start,repeat和end事件。
TranslateAnimation
AnimationListener
start
repeat
end
有没有办法在动画期间获得插值?
是的,扩展 TranslateAnimation 并覆盖 applyTransformation()