lottie-android
lottie-android copied to clipboard
LottieAnimationView missed little animation frame when it `s started ~
hello , I loaded this json file by raw resource and called LottieAnimationView$playAnimation method. when it was playing , it `s missing lot of frame... I guessed that it is not support to gradient stroke on android but I found that issue on IOS ...
this is my demo code ... `
val lottieView = findViewById(R.id.lv_lottie)
lottieView.setAnimation(R.raw.data)
lottieView.addLottieOnCompositionLoadedListener {
lottieView.setMinAndMaxFrame(it.startFrame.toInt(),it.endFrame.toInt())
lottieView.progress = 0f
lottieView.setComposition(it)
lottieView.playAnimation()
}
followed my json file ~ I don
t know why that animation was missed lots of frame... please tell me how to fixed it or the better way to play this anim , THANKS !
json.zip