1

ListView item onClick color stays the same for a second after I return to the activity, how to refresh it?

view story
linux-howto

http://stackoverflow.com – So I am using the following so I can change the on click color of my listview item. However, I am annoyed at what is happening when I return to my activity after the click - the color stays the same as when I clicked on it for about a second and then it refreshes to the normal background. Also, if I hold the listview item and slide my finger away, the listview item stays as it is continuously clicked on and does not return until I tap on another listview item. How can I only change the background color of the listview item on tap only and not have it stay the same after I switch back to the sa (HowTos)