I’m wondering how to handle “loading screen”, when i’m displaying observable data to the user. it seems to cause a lot of error (and pain)
first - should i “ignore” the async nature of the loading controller or better to insert it into the “then”?
Second - when to dismiss it?
Assuming that data from the server (Firebase in my case) can: 1. arrive empty 2. not arrive at all 3. arrive in couple of “chunks”…
load.present().then(()=>getData().subscribe((res)=> // loader.dismiss()
How can i know that the data from Firebase was “complete”…?
Thank you very much