简体   繁体   English

使用Fresco同时显示多个GIF和/或WEBP

[英]Displaying Multiple GIF and/or WEBP at the same time using Fresco

I'm using Fresco to load and display GIF and WEBP for my app. 我正在使用Fresco为我的应用加载并显示GIF和WEBP。

I have a Gridlayout where I display a list of GIF and WEBP. 我有一个Gridlayout ,在其中显示GIF和WEBP的列表。 Images are animating as intented but one thing I notice is that they are not animated at the same time. 图像是按意图进行动画处理的,但是我注意到的一件事是它们不是同时动画的。 Some images wait for the other to finish animating before it starts its own animation which is not the way I expect it to be. 一些图像在开始动画之前会等待其他动画完成,这不是我期望的那样。

Does anyone experienced this before? 有人曾经历过吗? How to fix it? 如何解决?

This should work out-of-the-box. 这应该是开箱即用的。 Take a look at the animation sample app , where we have 2 animations in parallel (and they animate at the same time). 看一下动画样本应用程序 ,其中我们有2个并行的动画(它们同时进行动画处理)。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM