We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
로티 애니메이션이 끝난 후에 콜백을 실행하여 애니메이션이 끝나면 화면이 전환되도록 구현
private fun initSplashAnimation() { val animationView = binding.lottieanimationSplash animationView.setAnimation("momo_splash.json") animationView.playAnimation() animationView.addAnimatorListener(object: Animator.AnimatorListener { ... override fun onAnimationEnd(animation: Animator?) { val intent = Intent(this@SplashActivity, HomeActivity::class.java) startActivity(intent) finish() } }