[android-developers] Subclass of ArrayAdapter not working

2009-11-04 Thread jax
I have subclassed ArrayAdapter to set the color of text to RED if the string does not contain 100%, this has been added to a ListView. The problem is that some of the rows show as red when they contain 100%. Why would this happen? /* * Subclass of ArrayAdapter to change the

Re: [android-developers] Subclass of ArrayAdapter not working

2009-11-04 Thread Mark Murphy
jax wrote: I have subclassed ArrayAdapter to set the color of text to RED if the string does not contain 100%, this has been added to a ListView. The problem is that some of the rows show as red when they contain 100%. Why would this happen? You are recycling rows but not resetting their