예제 #1
0
        async Task TodoItem(NewTodoTaskEvent arg)
        {
            IsBusy = false;

            if (arg.Result.TransactionResult == TransactionResultTypes.Ok)
            {
                _textButton.IsEnabled = false;
                await MessageAsync("TextSuccess");
            }
            else
            {
                await ErrorTextAsync(arg.Result.GetErrorMessage());
            }
        }
예제 #2
0
        async Task TodoTask(NewTodoTaskEvent arg)
        {
            IsBusy = false;

            if (arg.Result.TransactionResult == TransactionResultTypes.Ok)
            {
                await MessageAsync("Success");

                await Navigation.PopAsync();
            }
            else
            {
                await ErrorTextAsync(arg.Result.GetErrorMessage());
            }
        }