The method setButton(int, CharSequence, Message) in the type AlertDialog is not applicable for the a
用dialog做弹出框的时候,报错,如下图感觉很奇怪,报的错误,我写在标题了,,解决方法,在OnClickListener前添加DialogInterface例如取消,,alert.setButton(DialogInterface.BUTTON_NEGATIVE,"取消",newDialogInterface.OnClickListener(){@OverridepublicvoidonClic