Adapter getView()
gives you a new view. It's not the same that is displayed on screen and changing it doesn't have any visible results.
Move the setImageResource()
code to the adapter getView()
itself so it operates on the same views as requested by your list view.