How can I run a function on every item in a ListView?

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

How can I run a function on every item in a ListView?

Postby GasBot » Sat Jan 03, 2009 7:46 pm

I have a listview being fed by a database much like the notepad example app. It's using a SimpleCursorAdapter with the from and to arrays showing how the database fields are mapped to the text fields on the listview row.

Now I would like to run a function on one of the database entries (a date) to calculate the time from now until that date and show it in weeks. Is there any way to set it up so it'll run a function and return a calculated value for one of the text boxes?
GasBot
Experienced Developer
Experienced Developer
 
Posts: 50
Joined: Fri Oct 17, 2008 7:19 am

Top

Return to View, Layout & Resource Problems

Who is online

Users browsing this forum: No registered users and 4 guests