Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
ShowDialog method in Android
var alert = new AlertDialog.Builder(this); //引数に Android.Content.Context contextが必要。
alert.SetTitle("Title");
alert.SetMessage("Message");
alert.SetPositiveButton("OK", (sender, e) => { });
alert.Show();
// OnCreateDialogで作成せよ。議論は取り合えず置いておきます。
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.