Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PAGImageView循环PAG动画卡顿的问题 #2547

Open
mioyuan opened this issue Oct 24, 2024 · 0 comments
Open

PAGImageView循环PAG动画卡顿的问题 #2547

mioyuan opened this issue Oct 24, 2024 · 0 comments
Assignees

Comments

@mioyuan
Copy link

mioyuan commented Oct 24, 2024

【版本信息】

4.4.1

【平台信息】

Android 原生

【预期的表现】

动画播放流畅

【实际的情况】

播放卡顿,尤其是在三星A70S型号的手机上,卡顿十分明显。

【Demo及附件】

通过如下代码设置Pag动画:
val pagFile = PAGFile.Load(this.assets, "pag/operation_calories_calculate.pag")
binding.pagIv.composition = pagFile
binding.pagIv.setRepeatCount(0)
binding.pagIv.play()

fan_speed1.zip

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants