Android-Universal-Image-Loader icon indicating copy to clipboard operation
Android-Universal-Image-Loader copied to clipboard

ImageLoadingProgressListener onProgressUpdate total = -1

Open wangwang4git opened this issue 12 years ago • 3 comments

In my App, ImageLoadingProgressListener onProgressUpdate(), the total = -1, but the current is correct.

wangwang4git avatar Jan 19 '14 11:01 wangwang4git

I have this bug also. This is only on 3G on Orange (Galaxy note 2). On Galaxy s3 (play) it is ok (other provider it is ok?). I tried to debug this with "Charles Proxy" sotware and figured what is returning form server, but when i am using app on one phone and using internet form other phone (with -1 problem) it is ok.

flamaniac avatar Jan 21 '14 11:01 flamaniac

i thinks that is Http Header "content-length" return null

wenfuli avatar Feb 11 '14 03:02 wenfuli

Yes, "total" relies on "Content-Length" header. If header is missing then "total" is unknown.

nostra13 avatar May 25 '14 17:05 nostra13