There are many questions and answers explaining how to set the background color of a selected ListView item by using an adapter and selector.
When an list view item is selected I want to define what background color it will have for the time being selected and I want to have different colors for different items.
Using an OnItemSelectedListener
did not work, probably doing it at that stage is too late.