The main purpose of the toolkit is to accelerate the creation and development of MVVM applications in Xamarin.Android, Xamarin.iOS, Xamarin.Forms, Windows 10 UWP, Windows Presentation Foundation (WPF), Silverlight, Windows Phone.
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 ?
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 👎
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 )![image](https://user-images.githubusercontent.com/39386863/77041210-c993e300-69b9-11ea-9a84-b0b3940c133d.png)
3 buttons binded on a command that modify the properties![image](https://user-images.githubusercontent.com/39386863/77041244-d57fa500-69b9-11ea-85ef-e11be3739482.png)
The commands![image](https://user-images.githubusercontent.com/39386863/77041231-d0225a80-69b9-11ea-9dad-5e75c6b724e5.png)
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 ?