You shouldn't have to - get your data from the adapter. Note the click listener's "parent" parameter, that's your list view. Get the adapter from that, then call getItem in the adapter to get your data. 26.03.2011 2:27 пользователь "Igor Nesralla Ribeiro" <[email protected]> написал: > Thanks Kostya… > > > > Any way to get a _id on a textview …because I bind the listview from a databse…. > > > > From: [email protected] [mailto: [email protected]] On Behalf Of Kostya Vasilyev > Sent: sexta-feira, 25 de março de 2011 20:17 > To: [email protected] > Subject: RE: [android-developers] select a row in a listview > > > > You can use listView.setOnItemClickListener. It will be passed the clicked item's position as well as its id. > > 26.03.2011 2:12 пользователь "Igor Nesralla Ribeiro" <[email protected]> написал: > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" 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-developers?hl=en > > -- > You received this message because you are subscribed to the Google > Groups "Android Developers" 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-developers?hl=en
-- You received this message because you are subscribed to the Google Groups "Android Developers" 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-developers?hl=en

