I have a SimpleAdapter with only 2 Textviews populating a list.I would like to retrieve one of these textview strings onListItemClicked().
I can get an
Object o = adapter.getItem(position);
But I would like the String?
Any ideas?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The second parameter of the
onListItemClickedcallback is aViewrepresenting that row. You could use that row to search for the desiredTextViewand obtain theStringfrom that: