Android開発のエラー解決策に遭遇しました
404 ワード
エラーメッセージ:
The method setPositiveButton(int, DialogInterface.OnClickListener) in the type AlertDialog.Builder is not applicable for the arguments (String, new View.OnClickListener(){})
次のはずではありません.
次のようになります.
The method setPositiveButton(int, DialogInterface.OnClickListener) in the type AlertDialog.Builder is not applicable for the arguments (String, new View.OnClickListener(){})
次のはずではありません.
.setNegativeButton(" ", new OnClickListener() ...
次のようになります.
.setNegativeButton(" ", new DialogInterface.OnClickListener() ...