// Display the provinces name
        public async void CreateCollection()
        {
            _allFiles.Clear();
            Files.Clear();

            FetchData tmpFetch = new FetchData();


            _allFiles = await tmpFetch.GetData();


            PerformFiltering();
        }
示例#2
0
        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();
        }