2
我現在有這樣的:如何從模態對話框獲得響應?
Builder yesandno = new AlertDialog.Builder(this);
yesandno.setTitle("QuickResponse");
yesandno.setMessage(message);
yesandno.setPositiveButton("YES", null);
yesandno.setNegativeButton("NO", null);
yesandno.show();
我應該如何去設置一個事件監聽器,將捕獲如果用戶點擊YES或NO?