WindWaker wrote: > Any help?????? isEnabled() is designed for use with category headers (as seen in the preferences UI) and, as such, may not work well for your case.
Some options: 1. Try requestLayout() or something to see if that will trigger isEnabled() to be requeried. 2. Call setEnabled() on the actual row you want to enable or disable, and hope the ListView row-selection logic honors your request. 3. Call setListAdapter() again on your ListView, though this will probably reset your selected row as well. 4. Find some other UI pattern to achieve your ends that does not involve trying to dynamically enable/disable list entries. -- Mark Murphy (a Commons Guy) http://commonsware.com | http://twitter.com/commonsguy Android App Developer Training: http://commonsware.com/training.html --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---