Keith
Keith

Reputation: 11

Waiting icon on Ionic mobile app

Its been frustrating since we tried many times but failed to resolve the issue on our mobile app (build on Ionic Framework + html5 + AngularJS). When our mobile app is activated, it tries to display data for selection (service layer built on Python), but somehow, the waiting icon is displayed for a long time. Due to confidentiality issue, I cannot display the mobile app code here, but I hope someone how share their experience on this issue. I am attached a copy of the screen shot for reference. enter image description here. All positive suggestions are welcome. Thanks.

Mobile app waiting icon issue

Upvotes: 0

Views: 238

Answers (1)

Raj Nandan Sharma
Raj Nandan Sharma

Reputation: 3862

Your question is not very clear but from what I understood you can hide the loader in your callback function. I have assumed you are using promise/callback

$ionicLoading.show();
var datacall=//your call to a data service function using $http to your backend
datacall.$promise.then(function(success){$ionicLoading.hide()},function(err){$ionicLoading.hide()});

Let me know if you want the entire code

Upvotes: 1

Related Questions