c# - Replace PromptDialog with messages upon selection -


i've trying replace promptdialog accepted option along message once user selects. unfortunately i've been unable find solution it. because after user selects option, dialog can clicked again i'm trying avoid.

q. possible ? if can please help.

code

promptdialog.confirm(context, this.resumeafternone, message);   private async task resumeafternone(idialogcontext context, iawaitable<bool> result)  {      bool issure = await result;      string response = issure ? "awesome" : "sorry";      imessageactivity messageactivity = context.makemessage();      messageactivity.text = response;       await context.postasync(messageactivity);      context.done<object>(null);  } 


Comments

Popular posts from this blog

string - Using python and postgres, variables within execute function? -

android - How to get the Uri path from a ImageView? -