// Display the provinces name public async void CreateCollection() { _allFiles.Clear(); Files.Clear(); FetchData tmpFetch = new FetchData(); _allFiles = await tmpFetch.GetData(); PerformFiltering(); }
public async void CreateCollection() { _allFiles.Clear(); Files.Clear(); FetchData tmpFetch = new FetchData(); //tmpFetch.GetData(); //ProvinceModel provinceDemo = new ProvinceModel("Ontario", 100, 0, 1000, 123, 123, 100, "./Assets/Flags/Flag_of_Ontario.png"); //_allFiles.Add(provinceDemo); _allFiles = await tmpFetch.GetData(); PerformFiltering(); }