ImageLoader 图片加裁

// String picurl = article.cateLogo;
// ImageLoader.getInstance().displayImage(picurl, holder.cate_Logo_IV,
// ImageLoaderOptions.optionsNormal());
holder.cate_Logo_IV.setImageResource(article.cateID);

 

 

ImageLoader.getInstance().loadImage(picurl,
ImageLoaderOptions.optionsNormal(),
new SimpleImageLoadingListener() {

@Override
public void onLoadingComplete(
String imageUri, View view,
Bitmap loadedImage) {
super.onLoadingComplete(imageUri,
view, loadedImage);
logo_iv.setImageBitmap(RoundBitmap
.toRoundBitmap(loadedImage));
}

});

  

你可能感兴趣的:(ImageLoader 图片加裁)