FokkeZB / nl.fokkezb.loading

The widget provides a simple loading mask that can be easily styled and configured.
93 stars 18 forks source link

show function is not working on android #8

Closed ehab2222 closed 10 years ago

ehab2222 commented 10 years ago

Here is my code sample it's alreading working on IOS

function label_why_click(e)

{ Alloy.Globals.loading.show("kk",false); alert("test");

Alloy.Globals.loading.hide(); }

FokkeZB commented 10 years ago

Well since you show and hide it without something meaningful happening in the mean time, the window (which contains the loading masks) never shows. On iOS it might, but on Android it won't because it will kill the activity belonging to the window before showing it.

ehab2222 commented 10 years ago

ok this is not the problem coz first i was doing this line of code to see if it's because of fast time reason and it didn't show aslo

setTimeout(function(){
    Alloy.Globals.loading.hide();
}, 6000);

On Mon, Jan 6, 2014 at 5:50 PM, Fokke Zandbergen notifications@github.comwrote:

Closed #8 https://github.com/FokkeZB/nl.fokkezb.loading/issues/8.

— Reply to this email directly or view it on GitHubhttps://github.com/FokkeZB/nl.fokkezb.loading/issues/8 .

FokkeZB commented 10 years ago

Could you zip your project (or a reproducable test case) and sent it to mail@fokkezb.nl so I can debug? Can't reproduce it here.

ehab2222 commented 10 years ago

Hey

Ok Everything worked fine with me the problem i think was with the new (window) for android platforms which are all heavyweight in the new sdk 3.2 but i managed how to use your widget greatly

Thanks , you may close the thread now

On Fri, Jan 10, 2014 at 8:54 PM, Fokke Zandbergen notifications@github.comwrote:

Reopened #8 https://github.com/FokkeZB/nl.fokkezb.loading/issues/8.

— Reply to this email directly or view it on GitHubhttps://github.com/FokkeZB/nl.fokkezb.loading/issues/8 .