如何实现在GridView的图像延迟加载 [英] how to implement lazy loading of images in gridview

查看:142
本文介绍了如何实现在GridView的图像延迟加载的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想使用延迟加载网格视图加载图像。我曾尝试使用AsyncTask的打赌它扔并发未来任务error.Am加载图像从服务器通过使用URL所以请帮助我实现这一点。

I want to load images in a grid view using lazy loading. I have tried to implement this by using AsyncTask bet it is throwing concurrent future task error.Am loading images from server by using URL so please help me.

推荐答案

使用这个库 https://github.com/nostra13/Android-Universal-Image-Loader 还有就是装在每一个风格......名单,电网等

Use this library https://github.com/nostra13/Android-Universal-Image-Loader There is loading in every style... list, grid etc

这篇关于如何实现在GridView的图像延迟加载的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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