On Sun, Dec 6, 2009 at 9:55 AM, Mark Murphy <[email protected]> wrote: > Until the dialog is shown, the list items probably do not exist.
Not to mention onPrepareDialog() doesn't seem to be called for AlertDialog. That was my first failed attempt. > A cleaner implementation would be to use your own View for the innards of > the dialog, so you can tailor your own ListView and Adapter combination to > properly handle non-selectable items. For example, I do not think > setEnabled() will do what you expect. It works fine in a regular menu, that's why I was pursuing it for this. > Instead, use your own ListAdapter > that implements areAllItemsEnabled() and isEnabled(). Thanks. -- Greg Donald http://destiney.com/ -- You received this message because you are subscribed to the Google Groups "Android Developers" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/android-developers?hl=en

