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
Use this library https://github.com/nostra13/Android-Universal-Image-Loader
There is loading in every style... list, grid etc
Simple example showing lazy loading gridview for android.
https://github.com/desertjim/LazyLoadingGridView
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.
You can use smart image view that download the image form the HTTP url in the background. It is open source and its source code is available at this link..