您的位置:首页 > 编程语言 > PHP开发

The method setPositiveButton(int, DialogInterface.OnClickListener) in the type AlertDialog.

2013-10-07 16:45 555 查看
The method setPositiveButton(int, DialogInterface.OnClickListener) in the type AlertDialog.Builder is not applicable for the arguments (String, new View.OnClickListener(){})

Here is your solution, you did a silly mistake there buddy.

It should not be
.setNegativeButton("Don't Remind", new OnClickListener()


It should be
.setNegativeButton("Don't Remind", new DialogInterface.OnClickListener()
内容来自用户分享和网络整理,不保证内容的准确性,如有侵权内容,可联系管理员处理 点击这里给我发消息
标签: 
相关文章推荐