i’ve created list in first layout from server, and now i want to go to next layout when i choose the content in current layout it’ll go through with that content using onlistitemclick? how can i use this?
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 already have data assigned to your list by some adapter, now you can set onItemClick listener for your List. The method you should use, is
where you can obtain the position of selected item. The data stored in your list should be stored in some array and accessible using method .get(position). Then you can work with it.