-
Notifications
You must be signed in to change notification settings - Fork 6.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Migration to newer UIL version #169
Comments
Hi nostra13, thanks for the source. String imageUri = "http://www.mysite/store/image/i1.jpg";
ImageLoader imageLoader;
ImageView imgView;
imageLoader.displayImage(imageUri, imageView);
imageLoader.loadImage(imageUri, new SimpleImageLoadingListener() {
@Override
public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
}
});
// Load image, decode it to Bitmap and return Bitmap synchronously
Bitmap bmp = imageLoader.loadImageSync(imageUri); is there any thing else that I need to do? |
Yes, you should investigate the sample app and see how to use the library in a right way. |
加载比较大的图片的时候还是会有点问题,尤其是在gridview里 |
写英文 |
zhchzs said: there are some questions when loading big image.especially in gridview.(That is all he said.) |
First My English is not good.I hope you can understand what I mean .thank you for your open source code. I'm a newbie for andriod. i just a chinese student. You can provide some kind of learning method for android? |
hey, nostra13. I met a problem when i use this~ Promble may like this: when I use @Override
public void onLoadingComplete(String imageUri, View view, Bitmap loadedImage) {
// I just want to get diskCache ,but sometimes it return NULL, I just dont know why,Importantly,its sometimes,not always. Absolutely,I have config DisplayImageOptions .cacheInMemory(true),
.cacheOnDisk(true)
File file = DiskCacheUtils.findInCache(imageUri, ImageLoader.getInstance().getDiskCache());
} Do u know why ?Hope ur help...please |
Hello nostra13 I got the following error and I don't understand why:
I have to visualizze an images jpg from xml file.
} |
Most likely you pass wrong URL into ImageLoader. Check what URL you pass in debug mode. |
There was a mistake in my xml file in the server. I put a space between link and < > |
If you have some issues on migration to newer library version - write your questions here.
Post your code which ceased to be compiled after library update.
The text was updated successfully, but these errors were encountered: