private void RewardTapped(object sender, AdapterView.ItemClickEventArgs e) { TextDialogBuilder builder = new TextDialogBuilder(); var dialog = builder.BuildStandardYesNoDialog(this.Activity, $"Buy or Delete {items[e.Position].Description}?", "Would you like to buy or delete this reward?", BuyOrDeleteReward, e, "Buy", "Delete"); dialog.Show(); }
private void PromptLoginOrRegister() { TextDialogBuilder builder = new TextDialogBuilder(); var dialog = builder.BuildLoginDialog(this, Login, CreateUser); dialog.Show(); }
private void PromptNewReward() { TextDialogBuilder builder = new TextDialogBuilder(); var dialog = builder.BuildNewRewardDialog(this.Activity, AddNewReward); dialog.Show(); }
private void ManageList_ItemClick(object sender, AdapterView.ItemClickEventArgs e) { TextDialogBuilder builder = new TextDialogBuilder(); var dialog = builder.BuildStandardYesNoDialog(this.Activity, $"Delete {items[e.Position].Description}?", "Would you like to delete this task?", DeleteTask, e); dialog.Show(); }