Skip to content Skip to sidebar Skip to footer

Change Background On A Specific Row Based On A Condition In Custom Adapter

I'm trying to change the background color of a row based upon a flag received from the database on a remote server. In my code, I create an ArrayList called disable that holds all

Solution 1:

Get the entire row whom Background you want to change by finding its Id from View. Now set its backgound of your choice...

Get further help from this link..:

Changing background color of ListView items on Android

Post a Comment for "Change Background On A Specific Row Based On A Condition In Custom Adapter"