Hi, I'm focusing following problem.
I have an alert dialog with setMultipleChoiceItems, dialog is created and shown correctly but when I try to uncheck any of the selected items, the item stays checked. Here is the snippet of the code: SimpleCursorAdapter adapter = new SimpleCursorAdapter(context, android.R.id.text1, c, new String[] {label}, new int[] {android.R.id.text1} ); AlertDialog dialog=new AlertDialog.Builder(context) .setTitle(title) .setPositiveButton(R.string.okBtn, null) .setNegativeButton(R.string.cancelBtn, null) .setMultiChoiceItems(c,state,label, new DialogInterface.OnMultiChoiceClickListener() { public void onClick(DialogInterface dialog, int which, boolean isChecked) { Log.v("TEST", "onClick(..) called with value " + which + " / "+ isChecked); } }) .create(); dialog.show() Althought, method OnMultiChoiceClickListener() is called and in log I can see: "onClick(..) called with value 2 / false" so it says that chosen item is supposed to be FALSE (unchecked) but the dialog is not updated and item stays checked. Any ideas why it is like this? -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to android-developers@googlegroups.com To unsubscribe from this group, send email to android-developers+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/android-developers?hl=en