↧
Answer by Nikita Beloglazov for dynamically change TextView font color in...
ListView reuses view, as you can see in getView you get convertView, and you only change color from white to gray. You never restore color back to white. I suggest if (item.Read()) {...
View ArticleAnswer by Ronnie for dynamically change TextView font color in ListView
Move the text and color setting code to before setting the tag. Try this code if (convertView == null) { holder = new ViewHolder(); convertView = mInflater.inflate(R.layout.main, null); holder.text =...
View Articledynamically change TextView font color in ListView
I am binding an XML document to a custom adapter. All of the items in the list initially have a font color of white. One of the nodes in the XML document has an attribute that I am checking and if the...
View Article