Closed DouglasHennrich closed 8 years ago
Hey @DouglasHennrich
you could add the progress view to a container view that you hide and show (as a workaround) but I'll update the widget too as it should expose all Ti.UI.View properties and methods.
I use this code for updating the progress when uploading a file, maybe this works for you too:
xhr.onsendstream = function(e){
$.progress.setValue(Math.floor(e.progress * 100));
};
@manumaticx yea I add it to a another view to hide and show as you said and works fine xD
Android support e.progress
on onsendstream
? I read it is not supported on android side =/
Thanks
@DouglasHennrich it works fine on android :)
huuummmm Thank You very Much Mr.Manumaticx :DD
:v: :smile:
Hi I want to hide my progress and show it when I'm uploading something... how can I do that?
I try $.progress.hide() but it's not a exposed method ):
Also I'm facing a little problem when onsendstream function to update the progress...
I'm getting the right progress but sometimes it get weird showing ALOT of numbers then it back to the right %( 10.3% ... 82.5% )
this is my
formatValue
->$.progress.formatValue = function(val){ return (val) + '%'};
Thanks