how to implement lazy loading of images in gridview

后端 未结 4 1099
后悔当初
后悔当初 2020-12-16 08:26

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

4条回答
  •  时光说笑
    2020-12-16 09:15

    Here is the best link you can find around for working with images : http://android-developers.blogspot.fr/2010/07/multithreading-for-performance.html

    The code is dedicated to ListViews but would work with GridView as well. It's quite complicated but performance is just stunning.

提交回复
热议问题