tags:

views:

16

answers:

1

I want to display a listview when clicked be able to get the items key value. How would I go about that.

thanks, Dean

A: 

The items key value of a listview ? Are you looking for onListItemClick from ListActivity ?

fedj
No, I am looking to store a record id with every row, but display text. How are the keys stored, and related to the row items and yet not displayed?thanks,Dean
I want to read a database and store a record_id of let's say 9104 and the displayed item in the list is "Blue Donkeys", when I click on "Blue Donkeys" I want to get the key "9104".Any ideas?thanks,Dean
CursorAdapter ?
fedj