public static async Task ReloadData() { Vendors.Clear(); Fuelings.Clear(); Summary.Clear(); await InitData(silent : true); }
void CreateCells(bool reload) { if (reload) { App.Fuelings.CollectionChanged -= Fuelings_CollectionChanged; Fuelings.Clear(); } foreach (var fueling in App.Fuelings) { Fuelings.Add(new FuelingCell(fueling)); } App.Fuelings.CollectionChanged += Fuelings_CollectionChanged; }