Leo Lin

Greenhorn
+ Follow
since Oct 16, 2009
Merit badge: grant badges
For More
Cows and Likes
Cows
Total received
In last 30 days
0
Forums and Threads

Recent posts by Leo Lin

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:

Activity


Adapter


AppList



main.xml

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
15 years ago