现在我正试着用C#在安卓系统上创建一个提醒对话框。The call is ambiguous between the following methods or properties: `Android.App.AlertDialog.Builder.SetPositiveButtonstring, System.EventHandler<Android.Content.DialogClickEventArgs>)' and `Android.App.AlertDialog.Builder.SetPositive
当用户在安卓导航栏中单击Back、Home和最近的按钮时,我想显示一个AlertDialog。我使用了onBackPressed()方法,它运行得很好,但是对于Home和最近,我使用的是onPause()方法,它不起作用。 .setPositiveButton("Yes", new DialogInterface.OnClickListener()