frizzo wrote:
> In the onListItemClick event, how do I derive the text of the selected
> item?  Thanks.

Who says it is text? You can make a ListView that is purely ImageViews
for rows.

You get two parameters in onListItemClick() that will help:

-- the int position parameter tells you the "row" that was clicked
within the Cursor the underlying array of an ArrayAdapter

-- the long id parameter tells you, for Cursors, which _ID was clicked on

-- 
Mark Murphy (a Commons Guy)
http://commonsware.com | http://twitter.com/commonsguy

Android Development Wiki: http://wiki.andmob.org

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google
Groups "Android Beginners" 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-beginners?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to