I'm writing an android app that has 2 activities: ListActivities, EditActivity.
The first shows a list of items with title and description.
the second shows full details after an item form the list was selected.
I also have a custom ListAdapter class that renders the list items for the first activity.
I want to send an intent from activity (1) to (2) sending the selected item's title as an extra data in the intent.
How can I reach this title? as on click I get the basic view class:
protected void onListItemClick(ListView l, View v, int position, long id) {
super.onListItemClick(l, v, position, id);
Intent i = new Intent(this, TodoDetailActivity.class);
i.putExtra(.., title);
// Activity returns an result if called with startActivityForResult
startActivityForResult(i, ACTIVITY_EDIT);
}