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

((TextView)listview.getChildAt(position)).setTextColor(Color.RED)

in onCreate method I got an exception.

If i try same in a Button's click work's ok. Where are my mistake
here?

Thanks in advance...

-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en

Reply via email to