![](https://camo.githubusercontent.com/76c14444ecea13af394c0e5231c066b8e67a436c9da2b8b65bfa2f2a06d9d741/687474703a2f2f6176617461722e6373646e2e6e65742f626c6f677069632f32303135303132373134303235373839302e6a7067)
# SimpleImageLoader Framework
A Simple ImageLoader for Android, articles for this framework How to make a ImageLoader Framework.
- init The SimpleImageLoader with ImageLoaderConfig
private void initImageLoader() {
ImageLoaderConfig config = new ImageLoaderConfig()
.setLoadingPlaceholder(R.drawable.loading)
.setNotFoundPlaceholder(R.drawable.not_found)
.setCache(new DoubleCache(this))
.setThreadCount(4)
.setLoadPolicy(new ReversePolicy());
// 初始化
SimpleImageLoader.getInstance().init(config);
}
- call the displayImage to load bitmap.
SimpleImageLoader.getInstance().displayImage(myImageView, "http://www.xxx/myimage.jpg");