1

Is it possible to handle click of listview as well as its childview like checkbox in android?

2 Answers 2

1

If i understand it right, you want to have a Listview, where you can click on particular rows and also on checkboxes that are in this rows?! Thats possible, you have to set OnClickListener/OnLongClickListener for the row clicks and an OnCheckedChangeListener for each checkbox. Is that what you wanted?

Sign up to request clarification or add additional context in comments.

Comments

1

Here is another solution which can handle click for both list row as well as its child view. Refer this link.

Android custom ListView unable to click on items

I hope it will help you. :)

Comments

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.