hehonghui / Simple_imageloader
Licence: mit
A Simple ImageLoader for Android 【不建议使用到项目中,仅作示例】
Stars: ✭ 118
Programming Languages
java
68154 projects - #9 most used programming language
# SimpleImageLoader Framework
A Simple ImageLoader for Android, articles for this framework How to make a ImageLoader Framework.
Useage
- 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");
Note that the project description data, including the texts, logos, images, and/or trademarks,
for each open source project belongs to its rightful owner.
If you wish to add or remove any projects, please contact us at [email protected].