开发者

How to handle multiple click in ListView?

Is it possible to handle 开发者_StackOverflow社区click of listview as well as its childview like checkbox in android?


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?


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. :)

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜