Maybe I just need to re-read the docs and tutorials, because this is so simple - I just don’t get it though.
I have two pages in my simple app - Login and Home. If the Login succeeds, it does a nav.setRoot( HomePage ).
The Home page opens just fine. But it appears to be trying to render the HTML before it has the data to apply to the bindings, and I see an empty page!
It doesn’t matter whether I have the calls to the backend coded in the constructor() or the ionViewDidEnter() function. Since those calls are coded async using a Promise, they’re not returning in time for the data to be shown. All I see is a blank page. I built in a pull-down refresh, and THAT allows the data to be seen, but that’s a horrible UX…
Is there some trick to getting the page to wait to render the HTML until the data has been returned and is ready to bind? Or am I coding my bindings improperly? I’m just using double-bracket method… `