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
images display wrong #109
Comments
Why do you try handle some errors here? Your 5 images are shown together on the screen on activity start? Or you should scroll to see 5th image? |
I guess I have the same problem, images are replaced when imageviews are visible. |
@djj0809 Show your display options and configuration and code. |
@nostra13 Exception handling does not matter at all. If I'll remove exception handling then also it happens. if I am having list view and your loader start loading images, at that time if I scroll my list view and then loaded image @ uppar item may have another place also. but after loading all images each images get placed properly. |
@nostra13 just the default configuration and simple listview with an imageview in each list item...But when I use the imageLoader in Fedor Vlasov's project, it works correctly. I guess the problem may relates to the reuse of the imageView in the adapter. |
I think both of you have problem connected to view reusing. And I think the problem solution for you is to call one option: |
I think so. .. and thanks :) |
How to load all images by loader and it should be thumb. Have you set DisplayImageOptions for making thumb of downloaded image. If you have implemented like, I have to set only width and height of thumb. |
@luminousman Can''t understand you correctly. |
I mean to say.. imageLoader.displayImage(data.get(position).url, holder.imgPhoto); method will download the image and will set to holder.imgPhoto. @ this url, i don't know the size of photo. but i want to make it thumb image from the downloaded image. Have any features like : this method will download the image and convert it into 100x100 thumb and will set to imageview. |
Size of decoded bitmap is defined using Do you mean "thumb" as Bitmap object or image file? |
Yes.....I can set fix width and height for imageview.. but sometime I need thumb bitmap. |
Why? |
for contact photo or elsewhere. |
I don't understand, do you need Bitmap reference or you want ImageView shows downscaled Bitmap, or something else? |
i want downscaled bitmap. |
UIL downscales it for you depending on ImageView parameters. Final Bitmap size also depends on |
Any questions? |
7 days, no answer. |
sorry for inconvience. It's resolved. |
Can I use your image loader for loading images from sdcard instead of live url???.. let me know. |
Of course. |
if i will use sdcard path insted of url in |
Have you tried to read Readme or Java docs? |
Yuap.. got it. |
I am loading 5 images..when 1st images get loaded it will be displayed in 1st imageview and randomly in ant one of others imageviews. after loading all images it gradually loads other images and get placed.
The text was updated successfully, but these errors were encountered: