예제 #1
0
        private async Task GetCategoryAsync(string categoryID)
        {
            if (!IsNewCategory)
            {
                await DialogService.DisplayPopupAsync();

                Category = await FirebaseService.GetCategoryAsync(categoryID);

                States = new ObservableCollection <StateModel>(await FirebaseService.GetStatesAsync(categoryID));
                await DialogService.PopAsync();
            }
        }