Page 3 of 3

Rest service Loading.

Posted: Thu Aug 22, 2013 7:02 pm
by Maryna Brodina

Do you mean you're trying to add codefunction hideSpinner() /code code?
It should be just codeshowSpinner()/code
and
codehideSpinner()/code


Rest service Loading.

Posted: Mon Aug 26, 2013 9:50 pm
by Chris Whitfield

ok i think i got it to work...

it works for me on "Page Show" instead of "Page Load"


Rest service Loading.

Posted: Sat Jul 12, 2014 7:39 pm
by Marco Spera

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?


Rest service Loading.

Posted: Sat Jul 12, 2014 8:36 pm
by Marco Spera

actually, if I use page show, it works only sometimes.

If i use page load, it does not work ever.


Rest service Loading.

Posted: Sun Jul 13, 2014 3:11 pm
by Marco Spera

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.


Rest service Loading.

Posted: Sun Jul 13, 2014 4:07 pm
by Illya Stepanov

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.


Rest service Loading.

Posted: Sun Jul 13, 2014 4:10 pm
by Marco Spera

Oh ok, thanks for the update!