views:

516

answers:

0

I have been testing with a ListView inside a LinearLayout. I used an OnItemClickListener to modify values in the TextView of the selected positions. Specifically I was disabling the list item. Everything worked as expected. Now, I am testing this same scenario with the ListView inside an AlertDialog. However, things do not work the same. I have tried both setItems and setAdapter. I have also overridden my adapter so as to manipulate the item views with getView. What I see is disabling the view has no effect. I also tried the setVisibility(GONE) and that came out the way you would expect for INVISIBLE - a blank non-selectable row was present. Any help would be appreciated. -Thanks