コード例 #1
0
        private async Task CreateItemAsync()
        {
            if (!await CanCreateItemAsync())
            {
                return;
            }

            await DialogService.DisplayPopupAsync();

            await FirebaseService.InsertItemAsync(NewItem);

            ResetNewItemCommand.Execute(null);

            await ShowItemsAsync();

            await DialogService.PopAsync();
        }