Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

Rest service Loading.

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

Chris Whitfield
Posts: 0
Joined: Fri Jul 26, 2013 5:31 am

Rest service Loading.

ok i think i got it to work...

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

Marco Spera
Posts: 0
Joined: Tue Jun 17, 2014 7:14 pm

Rest service Loading.

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?

Marco Spera
Posts: 0
Joined: Tue Jun 17, 2014 7:14 pm

Rest service Loading.

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

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

Marco Spera
Posts: 0
Joined: Tue Jun 17, 2014 7:14 pm

Rest service Loading.

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.

Illya Stepanov
Posts: 0
Joined: Mon Mar 18, 2013 8:48 am

Rest service Loading.

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.

Marco Spera
Posts: 0
Joined: Tue Jun 17, 2014 7:14 pm

Rest service Loading.

Oh ok, thanks for the update!

Return to “Issues”