Hi everyone.
I'm writing an app that loads several itens in a listview. This itens will have a status which I'll control by text color, i.e. red itens was ordered, green itens was delivered and so on...
If I try to set the color by using
in onCreate method I got an exception.Code:((TextView)listview.getChildAt(position)).setTextColor(Color.RED)
If i try same in a Button's click work's ok. Where are my mistake here?
Thanks in advance and sorry for the poor english...
Bookmarks