protected override void OnResume() { SensorDataAccess dataAccess = new SensorDataAccess(); dataAccess.sensors = sensors; dataAccess.GetSensors(Settings.LoginToken); }
protected void OnRemoveSensor(object sender, EventArgs args) { SensorDataAccess dataAccess = new SensorDataAccess(); dataAccess.DeleteSensor(this.selectedSensor); Navigation.PopToRootAsync(); }