I have created an ArrayList> collection to hold my data for ListView. I\'m using SimpleAdapter.
ArrayList>
ListView
SimpleAdapter
To accomplish this, you need to create a custom array adapter and then change the background color if the conditions are right.
Check out this post for an example: Custom ArrayAdapter setBackground in getView