Hello

This is a problem that I've been struggling with for a while and I
would think it should be a simple process.

I have a class that extends listactivity. I then load the list with
text items and their corresponding id's using the
setListAdapter(SimpleCursorAdapter). That all works fine.

My question is how can I change the text color at position n?

I think I should use the getListView().getItemAtPosition(n) function,
but that only returns an object and I have tried casting it to various
Android objects with no success.

Also, if I want to change the text of a certain item in the list, do I
have to change the Cursor and then call setListAdapter again or can I
change the text directly using a similar approach as to changing the
text color?

I have tried for hours to solve this problem and if someone could even
just point me in the right direction that would be appreciated.

Thanks

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

Reply via email to