软硬度:在缓存列表项渲染图像? [英] Flex: Caching images in list item renderer?

查看:132
本文介绍了软硬度:在缓存列表项渲染图像?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我有一个列表和项目渲染显示图像。每当你滚动列表,而该项目渲染器刷新,它重新下载图像。造成那里总是会有延迟。是否有缓存它,所以它不必重新下载每次造成延迟显示图像每次滚动列表时某种方式?

I have a List and the item renderer displays an image. Whenever you scroll the list, and the item renderer refreshes, it redownloads the image. Causing there to always be a delay. Is there some way of caching it so it doesn't have to redownload every time causing a delay in showing the image every time you scroll the list?

谢谢!

推荐答案

下面是源$ C ​​$ C很好的解决方案 http://demo.quietlyscheming.com/superImage/app.html

Here is nice solution with source code http://demo.quietlyscheming.com/superImage/app.html

这篇关于软硬度:在缓存列表项渲染图像?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆