Hi guys,
i created a Xamarin Forms App with the following functions:
Add a local device with an Ip-Address and put it on or off with a Switch.
Everything is fine ... i have a ListView for my devices. I save and load them with SQLite ... and put them in a ObservableCollection.
My model for the devices has already the INotifyPropertyChanged so i can recognise if something changes and the ListView updates automatically.
So ... my problem now is when i load the ListView all of my devices get triggered by the Switch-Event so if i have a device online and load the list .. the device is going to be offline because of the event is triggered ... i tried to set a boolean value to catch this but i don't get it working.
Do you have a "clean" way for me to solve this problem?
- Martin