What is the proper way of keeping the state of viewmodel when closing and returning back for Maui application?
I am developing a Maui application with a tabbed main pages using Shell. On one of the main tabbed page there is a button a button to create a new form, which navigates the user to a CreateFormPage binded to CreateFormViewModel.
.NET MAUI real-time detect Current CultureInfo Changed?
I followed the tutorial in this youtube Video by Geralt about Multilingual on .NET MAUI, very good and very detailed: https://www.youtube.com/watch?v=cf4sXULR7os
After many times I Googled the results from StackOverFlow, I could not find the answer for myself.
maui: when item in observable collection changes one of its props, UI is not updating unless I leave and reopen page
I am simply trying to catch an item in my observable collection and change one of its props:
The double parameter is not updated in the display when it is changed in the MVVM command in NET MAUI
I am making a client application for a product store. The shopping cart is located on the server and the data is transferred there using requests to the server. The product basket is an ObservableCollection
. The view also shows the total price generated in the ViewModel
constructor. I implemented the command to remove an item from the observablecollection, and also put in the command to subtract the cost of the deleted item from the total amount parameter. The deleted item disappears from the list in the view, but the displayed amount remains the same.
XAML Code: