I've got an alert dialog with a single choice item selection which is giving me issues. The dialog has a list of items, positive and negative buttons, and is cancellable. Pressing the negative button calls dialog.cancel(). When setSingleChoiceItem() is called, I pass the value of the checked item I want to highlight.
The problem is that if I select one of the items on the list and then press the negative button to cancel, then open the dialog again, the last selected item is still shown. It does not show the original highlighted item passed to setSingleChoiceItem(). What do I need to do to make sure the original checked item is highlighted when the dialog is displayed? -- 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