I want my ListView to change its background for each selected item (Multi-Selection). I used this code:
<ListView
...
android:drawSelectorOnTop="false"
android:listSelector="@android:color/darker_gray" >
This works fine, but it is just possible to select one single item of the list. If I select another one the selection is resetted and the new one changes its background.
Is there an easy and fast way to make it possible to select more than one item at the same time with changing the background of every selected item?
You can use
android:choiceMode="multipleChoice"
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With