public bool DataFromPractoSuccess(RootLocationObject r) { System.Diagnostics.Debug.WriteLine("Viewmodel location success"); localities.Clear(); foreach (var x in [email protected]) { localities.Add(x.suggestion); } return(true); }
public bool PractoReadSuccess(RootLocationObject root) { System.Diagnostics.Debug.WriteLine("LOCATION success!"); this.locs = root; return(true); }