Does anyone have a good tutorial for implementing onItemClick()
for a ListView
populated by a custom ArrayAdapter
?
I'm struggling with how Android is recycling views, and how to affect the layout of the selected view (which is a RelativeLayout
). The way I've implemented it, I'm just doing a simple background colour change, but everytime I choose a row, when I scroll the ListView
there are other off screen items selected too.
Any ideas?