mvvmlight
mvvmlight copied to clipboard
Modifiing property from INotifyPropertyChanged Class after GoToAsync -> Pop -> GoToAsync result in ObjectDisposedException
Hi all !
Like the title said , i need some help about binding Observable model :( This is what i have :
A model with INotifyPropertyChanged ( i tried before with ObservableObject from MvvmHelper James Montemagno )
3 buttons binded on a command that modify the properties
The commands
What i did : GotoAsync("ScanWorking") , select PowerKm , validate , await Shell.Current.Navigation.PopAsync(); GotoAsync("ScanWorking") , Selected button is still selected , and when i'm try to select another PowerKw , i get this error.
Poping page dispose my data model object , and i dont know how i can handle this ?
Any one have full example with Shell & MvvmLight ?
Update:
Same thing with any property :'(
First time on screen , modify value , validate => ok pop Go to the screen a second time. Data seems to still be there. Click to chose another value Crash 👎