Hi,
progress will return -1 if the server doesn't provide a content length 
value. 
Check this out:
https://github.com/codenameone/CodenameOne/blob/master/CodenameOne/src/com/codename1/components/ToastBar.java#L794-L843

https://www.codenameone.com/blog/toast-downloads.html

-- 
You received this message because you are subscribed to the Google Groups 
"CodenameOne Discussions" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
Visit this group at https://groups.google.com/group/codenameone-discussions.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/codenameone-discussions/3cd7feb4-344f-4395-a8e0-d5c3674b2619%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to