When I invoke a service, for example a JSDO.read , I want to show the standard loading/waiting animation while getting the data. How can I do this?
Hello,
You could call the service using JavaScript and add the calls to showSpinner() and hideSpinner().
If you add a call to a service then browse the .js for your screen (home.js for example), you will see code that calls the service ( execute() in a try block ).
I hope this helps.
how can i use custom spinner with themes as shown in http://jquerymobile.com/demos/1.2.0/docs/pages/loader.html ?
Keep in mind - those spinning widgets will get very annoying for users - if the delay is long.
Cool look if it's a quick load, but otherwise it could drive them away.
My 2 cents
i just wanted to give it a try to see how to implement such things!
Any one got an idea?