Page 1 of 1

Spinner disappears after service "completes", before pages is populated

Posted: Tue Mar 10, 2015 1:12 am
by Frank7390035

I have created a custom REST service and, when the service is invoked, results are mapped to a listview.

Because the number of results to show is large, the results take a few seconds to show, so I need a spinner to work properly. Currently the spinner only works until the service "completes". After that it disappears and I get a blank page, until the mapping is "successful" and the page is populated.

I have used showSpinner() on "complete" but the spinner does not appear. I believe some internal function hides the spinner during the mapping step, or right after that.

What should I do?