Rest service Loading.
Do you mean you're trying to add codefunction hideSpinner() /code code?
It should be just codeshowSpinner()/code
and
codehideSpinner()/code
Catch up wih the Appery.io community on our forum. Here you'll find information on the lastest questions and issues Appery.io developers are discussing.
https://forum.appery.io/
Do you mean you're trying to add codefunction hideSpinner() /code code?
It should be just codeshowSpinner()/code
and
codehideSpinner()/code
ok i think i got it to work...
it works for me on "Page Show" instead of "Page Load"
I am trying to use showSpinner() and hideSpinner(), when I move from one page, to a new page that has a list of 100+ list service.
The list service takes a while to load, so I want to show the spinner while I wait for the list to load.
I user showSpinner() on event page load, and hideSpinner() on event list success, but it does not always work.
Sometimes it shows the spinner, sometime it does not.
Any idea why?
actually, if I use page show, it works only sometimes.
If i use page load, it does not work ever.
I seem to have got it to work pretty reliably.
I used showspinner on page show, and hidespinner or success of list.
This will do for now, and ill report back if I have any more issues with it.
Hi Marco,
In most cases it should work for page show event, in other cases there should be an complicated logic of intercepting the errors state of services and conditions of calling spinner depending on the sequence on the service calls.
Oh ok, thanks for the update!