Ask Your Question
2

At what point should I load view data within a .NET MAUI application?

asked 2022-06-04 11:00:00 +0000

plato gravatar image

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2022-03-01 10:00:00 +0000

qstack gravatar image

In a .NET MAUI application, you should load the view data within the ViewModel's constructor or a separate method called from the constructor. This allows the view to be fully initialized and ready to display the data when it is loaded. Additionally, you may want to consider asynchronous loading to avoid blocking the UI thread.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account. This space is reserved only for answers. If you would like to engage in a discussion, please instead post a comment under the question or an answer that you would like to discuss

Add Answer


Question Tools

Stats

Asked: 2022-06-04 11:00:00 +0000

Seen: 15 times

Last updated: Mar 01 '22