A Microsoft framework for building cross-platform mobile apps using .NET and C# with native performance and user interfaces.
Best way / practive creating complex layout in code behind
Hi @all !
I have a design question on how to implement the creation of complex layouts / controls in code behind. I have a Xamarin.Forms application which reads data from a configuration file.
This data is analyzed, and then a data form will be created out of this data.
For ex. the configuration file says: i need 20 entry fields, 5 date fields, 5 memo edits, 10 pickers and 1 datagrid.
Now i wanted to ask what´s the best practice on creating the layout. I want the controls be created asynchronously, so the page get´s displayed with a activity indicator until all controls / layout is finished and can be shown.
Do you have any recommodations or experience on creating complex page layouts asynchronously in code behind?
Would be awesome if you guys could share your thoughts about this.
Thanks
Tom