How to disable ListView item after it has been clicked?
问题 I have a simple array of Strings that I was displaying in a horizontal ListView with an ArrayAdapter . What I'm looking to do is: when the user selects an item from the ListView , make that item not clickable and change the background color of that item. Perhaps like a "grayed-out" look to it. I was looking into creating a custom Adapter and overriding the isEnabled(int position) method but I don't know how I would go about this. Any advice, suggestions, or help will be greatly appreciated