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

来源:互联网 发布:php需要用到什么软件 编辑:程序博客网 时间:2024/05/18 15:28

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()

</pre><p></p><pre>

It should be

.setNegativeButton("Don't Remind", new DialogInterface.OnClickListener()




from:http://blog.csdn.net/competerh_programing/article/details/7377950


0 0
原创粉丝点击