private async void OnPositiveButtonClicked(object sender, DialogClickEventArgs e) { var newTagData = await viewModel.SaveTagModel(nameEditText.Text); if (updateTagHandler != null) { updateTagHandler.OnCreateNewTag(newTagData); } }
private async void OnAddTag(object sender, EventArgs e) { var newTagData = await viewModel.SaveTagModel(nameTextField.Text); handler.OnCreateNewTag(newTagData); }