Skip to content


Subversion checkout URL

You can clone with
Download ZIP
This is a fork of the LazyList proyect. The aim of this fork is to contribute and create an Android Library without any reference to Views, and to delay the "imageView.setImageBitmap" in order to let the implementation do it, do what the final project needs. For example: before set the Image to an ImageView reduce it size, put rounded corners or…
Pull request Compare This branch is 8 commits ahead, 1 commit behind thest1:master.
Fetching latest commit...
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
res Add new implementation.
src/com/android/lazylist Change in the init methods of ImageLoader the context for the context…
.classpath Change in the init methods of ImageLoader the context for the context…
.gitignore Ignore bin and gen
.project Import sources
LICENSE License added Updated readme Add new implementation.


A simple library to display images in Android. Images are being downloaded asynchronously in the background. Images are being cached on SD card and in memory. Can also be used for GridView and ListView just to display images into an ImageView or any other View, even custom ones.

Originally published here.

Basic Usage

We recommend to create your view and implement the ImageProcessingCallback there, specially for ListView and BaseAdapter. Check the ".impl" package.

//To use the default external folder, this folder will be deleted when the app no longer exists.
//Or to use another folder, use...
//ImageLoader.getInstance().init(getApplicationContext(), "MyExternalFolder");
public class MyItemView extends LinearLayout implements ImageProcessingCallback {
//Do what you need in methods onImagePreProcessing() and onImageProcessing(Bitmap bitmap)
ImageLoader.getInstance().displayImage(data[position], myView);

Don't forget to add the following permissions to your AndroidManifest.xml:

<uses-permission android:name="android.permission.INTERNET"/>
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE"/>

Now the ImageLoader is a Singleton, so you do not need to check for only one instance. But remember to call the init() method.

Check the ".impl" package to learn how to implement the library, it is very easy.


LazyList is released under the MIT license.

Something went wrong with that request. Please try again.