i want change colors dynamically single list item in listview. possible?
below code:
public view getview(int position, view convertview, viewgroup parent) { view view = super.getview(position, convertview, parent); textview text = (textview) view.findviewbyid(android.r.id.text1); if(menus[position] == "new") { text.settypeface(null, typeface.bold_italic); text.settextcolor(color.blue); } return view; } now color blue. want change red blue , vice versa.how this? can help?
how use "handler", send delayed message handler, , change color while handle receive message.
Comments
Post a Comment