-
请教一下各位: |
Beta Was this translation helpful? Give feedback.
Answered by
domchen
Aug 1, 2024
Replies: 1 comment
-
这个情况一般是这个台手机在开发者模式里关闭了动画功能。要在那边重新开启一下,不然连屏幕刷新的回调都没有。目前Android系统的这个调试功能没有地方取消,用户打开了经常就忘记了,只能用户手动取消。否则就是所有动画都无法播放。但是你能做检测并提醒,就是参考PAGView里的代码,animationScale如果等于0的时候,就是设备无法播放动画。 |
Beta Was this translation helpful? Give feedback.
0 replies
Answer selected by
domchen
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
这个情况一般是这个台手机在开发者模式里关闭了动画功能。要在那边重新开启一下,不然连屏幕刷新的回调都没有。目前Android系统的这个调试功能没有地方取消,用户打开了经常就忘记了,只能用户手动取消。否则就是所有动画都无法播放。但是你能做检测并提醒,就是参考PAGView里的代码,animationScale如果等于0的时候,就是设备无法播放动画。