View Reloaded once content is there


#1

Hey Guys,

I am using Ionic for just a simple tab app that displays some info I load from an external source (in this case parse). It works pretty well, although sometimes I am noticing that I click a view and the view will be blank. When I tap the tab again it populates the list with the view from the server. I am assuming this is the app taking a momment to load the data… it seems to take less than a second, but dosen’t then update.

Has anyone seen this? I was thinking I could probably just build some sort of loading thing that shows? Is there an easy solution to basically refresh the view once the content has been loaded?


#2

You should add an ionicLoading so that your view is blocked when your http call is done.
This combined with a promise resolve works like a charm for me