문제

I want to load multiple image(list view or gridview) of specified size (i need to change height and width of image at run time) .Can anyone suggest me for any library which support this functionality ?

imageloader.loadimage(imageview,"imageurl",height,width);

올바른 솔루션이 없습니다

다른 팁

Check out UniversalImageLoader. I think this is the best library for loading images. In its loading listener you can resize the loaded image before display it.

Try by this one : and check this for refrence https://github.com/nostra13/Android-Universal-Image-Loader

ImageSize targetSize = new ImageSize(120, 80); // result Bitmap will be fit to this size
 imageLoader.loadImage(imageUri, targetSize, displayOptions, new     SimpleImageLoadingListener() {
@Override
public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
    // Do whatever you want with Bitmap
}
 });
라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top