Lazy loading Bitmap Images in ListView
Lazy loading, I am using custom ListView to display Images and some text. Images are in string format. I'm converting string to Bitmap and assigning to ImageView , how to use lazy loading for Bitmap string Images?
Various libraries are available for lazy loading of image. Picasso & Glide are very good. Integration is also very easy. You can use Picasso if image quality is most important. Use glide for faster loading. Though you can prefer anyone, I recommend to use Glide.
For swapped images there may be a problem in async loading of images. How do you know about thread completion. Any thread can load image anytime.
Thanks
链接地址: http://www.djcxy.com/p/93128.html上一篇: Android懒惰的图像加载ListView无法正常工作
下一篇: 在ListView中延迟加载位图图像