24234223 / android-query

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

Black images when network goes off #139

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?
1. Integrated Aquery for downloading images from server
2. When a image downloading is in progress, switched off wifi
3. Black images get returned from server in the BitmapAjaxCallback with status 
code 200

What is the expected output?
The imageview should be loaded with the fallback image if network is not there. 
The BitmapAjaxCallback should not have error status as 200 or the bitmap object 
returned in the callback should be null. The image should not be filecached or 
memory cached. As of now, the image is filecached.

What do you see instead?
The imageview is loaded with a full black image. 

What version of the product are you using? On what operating system?
android-query.0.25.10.jar and android-query-full.0.24.3.jar. Android.

Please provide any additional information below.

Original issue reported on code.google.com by svsankar...@gmail.com on 18 May 2013 at 1:55

GoogleCodeExporter commented 8 years ago
Have also observed the same issue on android-query.0.25.9.jar

Steps to reproduce:
1. When a image downloading is in progress, switched off wifi/3g
2. Switch on network and restart download.
3. The imageview is loaded with a full black image which cannot be removed 
simply by clearing cache.

Original comment by chong.yu...@gmail.com on 4 Jun 2013 at 6:37

GoogleCodeExporter commented 8 years ago
Yes I'm able to reproduce this problem as well.

Original comment by poh.ch...@gmail.com on 4 Jun 2013 at 6:41

GoogleCodeExporter commented 8 years ago
Happens for me as well

Original comment by zawad...@gmail.com on 19 Jun 2013 at 8:15

GoogleCodeExporter commented 8 years ago
hi, please try this:

<application
        android:hardwareAccelerated="false"
   />

it works for me.

Original comment by Suran.Li...@gmail.com on 1 Nov 2013 at 7:02

GoogleCodeExporter commented 8 years ago
me too.
but how to solve the problem?

Original comment by liuyan19...@gmail.com on 18 Aug 2015 at 8:49