If you're using SimpleCursorAdapter or SimpleAdapter, you can use
setViewBinder to attach a ViewBinder object to the adapter. Then
override setViewValue in the ViewBinder.

On Oct 27, 8:01 pm, "[EMAIL PROTECTED]"
<[EMAIL PROTECTED]> wrote:
> Hello,
> I am working on an application that involves displaying dates from my
> database.  I have the dates formatted within my database using the
> ISO8601 format: "yyyy-MM-dd'T'HH:mm:ss.SSS".  I run my query which
> returns a cursor.  I then map the DATE field within the cursor to my
> TextView.  My issue is that the date is still formatted as "yyyy-MM-
> dd'T'HH:mm:ss.SSS".  My plan was to convert it back to a Date object
> and format it as I like, but I don't see where I can intercept the
> value from the cursor before it is displayed on the TextView... any
> ideas?
>
> Thanks,
> Vince
--~--~---------~--~----~------------~-------~--~----~
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