Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
当应用程序处于暂停状态时,我在Choreographer.FrameDisplayEventReceiver.run. 在某些情况下对于应用程序是否正常?我还看到,大多数情况下,最终都是LottieDrawable. onAnimationUpdate调用。
Choreographer.FrameDisplayEventReceiver.run
LottieDrawable. onAnimationUpdate
我想知道这是否会对我的应用在暂停状态下的性能产生任何影响,例如电源使用情况等,
解决方案从问题转移到答案:
这是因为循环中的 Lottie 动画没有在暂停时暂停。当应用程序暂停时必须暂停它。 当一段代码在后台运行时,我看到了它。检查您是否还有一些东西在后台运行。
这是因为循环中的 Lottie 动画没有在暂停时暂停。当应用程序暂停时必须暂停它。
当一段代码在后台运行时,我看到了它。检查您是否还有一些东西在后台运行。