3
私はLottieアニメーションを実装しており、アニメーション全体が素晴らしい作品です!しかし、30フレーム後にアニメーションを一時停止するコードを追加して、一定時間後に再開できるようにしたいと考えています。これまでのコードはここにありますLottieアニメーションの一時停止と再開
animationView.playAnimation(0, 30)
animationView.addAnimatorListener(object : Animator.AnimatorListener {
override fun onAnimationEnd(animation: Animator) {
if (isLoading == false) {
//Everything has loaded. Continue Animation
//This line has no effect. The animation does not continue
animationView.playAnimation(30, 60)
//Resuming the animation just makes the animation disappear
//animation.resume()
}
}
何かアドバイスありがとうございます!