Skip to content

geeksammao/ImageLoader

Repository files navigation

ImageLoader

A light image loader

Feature

You can load image from web/file/assets with different scheme:

  1. http://
  2. file://
  3. content://
  4. assets://

You can get a ImageLoader by ImageLoader.getInstance(context) ,and load image to ImageView using loader.loadImageToImageView(String uri,ImageView imageView) or simply load image and use a callback to deal with the bitmap by using loader.loadImage(String uri,ImageLoadCallback callback).

Also,you can use imageLoader.setPlaceHolder(int res) to set custom placeholder before loading.

Caution

You must call the load method from the UI thread,and the load work is dealed with asynchronously by the loader.

About

A light image loader

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages