maomy / android-query

Automatically exported from code.google.com/p/android-query
0 stars 0 forks source link

Image fetched by URL is changed for local icon randomly #165

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Create a AQuery global instance on a custom List Adapter class. 
2. This instance will be used on the class to load images from urls on each 
elements of the list. (Each element also has local icons loaded by default on 
the xml layout that don't change - acting as buttons)
3. The list and images load perfectly most of the times but sometimes the icon 
resource will get loaded on the place the url image should be.

What is the expected output? What do you see instead?
we should see the loaded image of the car picture from the url, but sometimes 
we see an icon instead (see image attached).

The icon stays there even when scrolling on the list and coming back up.

What version of the product are you using? On what operating system?
using 0.25.10 on Android 2.3.3 and up.

Please provide any additional information below.
I haven't been able to reproduce this on the emulator, problem only shows on 
the devices (examples: Nexus 4, Nexus 7 (old and new)).

I'm clearing the cache and also downsampling.

The icon is defined on the left as xml value not loaded with AQuery.

I'm also using a placeholder from the (resources-drawable) folder. But the 
placeholder and the misplaced icon have different names. no_photo and 
message_offline_new. 

Unfortunately I'm not allowed to share the code. 

please let me know if you can help me in some way

Original issue reported on code.google.com by dahernan...@gmail.com on 19 Nov 2013 at 6:56

Attachments: