I have a custom ListView in which there are 2 buttons and a textview in each row.
I want to change the text of the clicked button. How to identify that which button of which row has been clicked and then how to change the text of the same button.
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.
Use onClickListener(). When a button is clicked that button’s onClickListener will be called.
In onClickListener() you can do something like