Render UI only when data is ready




Which is the recommended technique for rendering (show) UI components only when the binding has been done?
For example, if you have a button, a listview, whatever that needs to be setup and you don’t want to see that ugly effect that the component is drawn empty (with no data or text) and sudendly it gets re-drawn again with all data (so the the UI changes and finally gets the right structure).

Thank you in advance


I use a property to track isLoading (or isBusy, whatever you want to call it), and bind the root layout’s visibility property to isLoading, so that it’s collapsed while loading is in progress, and visible once it’s finished.