❔ MAUI Error when loading resources on loading page
I have a view that displays the
Cards
property as a CollectionView
. The view model is populating the hand
data member inside a asynchronous function. The problem is that with the code below, sometimes my program will crash on startup and sometimes it will not. When commenting out the single statement in my constructor, the program won't crash. I think there's something wrong with the way I load my resources. Is there a better approach for loading resources that are needed on a page load (using MVVM)?
The location where my IDE points me to when stopping the program.
1 Reply
Looks like nothing has happened here. I will mark this as stale and this post will be archived until there is new activity.