Forums Register Login
Customised ListView, problem of add ImageView,TextView and CheckBox
I want to define a customised ListView,I put a ViewGroup in each row and I use adapter to
add ImageView, TextView和 check boxeach in each ViewGroup. It has some problem now
, the OnItemClickListener function of ListView can't work, I can't touch the ListView to trigger the OnItemClick event.

code as follows:





If I remove the CheckBox, the OnItemClickListener function work find(Likes the ApplicationListAdapter.java, to remove the checkbox)

I want to know which CheckBox is choosen, so I must to know which line I clicked...
someone can help me, please? it perplex me several days.

Thanks a lots
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards

This thread has been viewed 11068 times.

All times above are in ranch (not your local) time.
The current ranch time is
May 24, 2018 03:59:22.