Exemple #1
0
        async Task FetchDishes()
        {
            IsBusy = true;

            Dishes = new ObservableRangeCollection <Dish>(await _DataSource.GetItems());

            //// ensuring that this flag is reset
            //Settings.ClearImageCacheIsRequested = false;

            IsBusy = false;
        }
Exemple #2
0
        public async Task ExecuteLoadItemsCommand(string catType, string childOf)
        {
            IsBusy = true;

            Items = new ObservableRangeCollection <T>(await _dataSource.GetItems());

            //// ensuring that this flag is reset
            //Settings.ClearImageCacheIsRequested = false;

            IsBusy = false;
        }