Hello everyone,

Are there any good examples on how to write a CursorAdaptor? Has
anyone (outside of Google) successfully written a CursorAdaptor?

I'm working with a ListActivity and need to map an icon ID in my
SqlLite table to an actual icon image. My CursorAdaptor should take
the icon ID and replace the default icon in the list item XML with the
appropriate icon.

I've been told that a CursorAdaptor is the best way to do this. That I
can insert myself into the list item drawing process and take
responsibility for changing that one bit of the drawing process.

If any of you have a good example of how to write a CursorAdaptor, I'd
appreciate it.

Peter


--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[EMAIL PROTECTED]
Announcing the new M5 SDK!
http://android-developers.blogspot.com/2008/02/android-sdk-m5-rc14-now-available.html
For more options, visit this group at
http://groups.google.com/group/android-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to