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

gif动画频率加快 #4

Open
gydhy8 opened this issue May 11, 2021 · 2 comments
Open

gif动画频率加快 #4

gydhy8 opened this issue May 11, 2021 · 2 comments

Comments

@gydhy8
Copy link

gydhy8 commented May 11, 2021

当显示gif动画的activity 进入stop状态后,再回到当前activity时,会出现gif动画播放过快现象,持续几秒钟后会按照正常速度播放,不知道大神有没有遇到这种情况

@gydhy8
Copy link
Author

gydhy8 commented May 13, 2021

修改了FrameSequenceDrawable部分逻辑,此问题已解决

@CHXAIOGE
Copy link
Owner

不敢当,我这边没有使用轮播的场景。而且通常会随着生命周期控制播放。因此没有遇到这个问题[手动捂脸]
对比了9.0的源码也没有改动。
http://androidxref.com/9.0.0_r3/xref/frameworks/ex/framesequence/src/android/support/rastermill/FrameSequenceDrawable.java

能了解下具体的场景和解决方案么

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