I have ListView. Every row has TextView with some text. And also by default every row has it’s position (int value). Can I get row position by text which is in Text View ?
Share
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.
If you register to receive click events, then the position will come with the event. If you need to find the position outside the scope of click events, then store the position with the view via setTag().