luke315774
Posts: 0
Joined: Mon Mar 17, 2014 6:33 pm

spinning loader don't show when invoking REST Services

I just notice this : when my application load and when I'm navigating between pages, there is a spinning loader showing and hiding automatically.

Is it supposed to do the same (show and hide automatically) between REST services invocation? Right now, my page shows up blank until the data of my services arrive.

Thank you

luke315774
Posts: 0
Joined: Mon Mar 17, 2014 6:33 pm

spinning loader don't show when invoking REST Services

I just notice that at some places in my app, it is showing and hiding successfully has I want it but not everywhere.

Where it was not working, the problem was I called the service on page load. I moved the call to "page show" and it seem ok.

Evgene Karachevtsev
Posts: 12
Joined: Mon Apr 28, 2014 1:12 pm

spinning loader don't show when invoking REST Services

Hello Luke,

This way you can show loader on the page with JavaScript:

code$.mobile.loading('show');/code

and here's how to hide it:

code$.mobile.loading('hide');/code

Return to “Issues”