SimpleCursorTreeAdapter - customize view

Put problem concerning Views, Layouts and other XML-Resources (like AndroidManifest) here.

SimpleCursorTreeAdapter - customize view

Postby spass-digga » Sun Jul 26, 2009 9:17 pm

Hi,

I have a ExpandableListActivity filled by a SimpleCursorTreeAdapter. Works. But I have to display a date in the child view. The date is stored as long in the database and so it is of corse displayed in the view. I need to do some formating with SimpleDateFormat before it is displayed.

With an SimpleCursorAdapter i can use simpleCursorAdapter.setViewBinder(new ListItemBinder()) to do this ... but SimpleCursorTreeAdapter hasn't got such method. Is there an alternative?

Thanks for your help.

greetings
Rudi
spass-digga
Freshman
Freshman
 
Posts: 2
Joined: Thu Jun 25, 2009 3:16 pm
Location: Germany

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: Google [Bot] and 4 guests