开发者

multi-column ListView onClickListener responds to a column in a row?

In Android ListView it has OnItemClickListener() which responds to a ROW I clicked. But what if my ListView has multicolumn and I want to have an event that responds to a column 开发者_JAVA百科in a row?


In your getView(...) of your listadapter simply use setOnClickListener() on what makes up the columns in you list row - ie as the row was a normal layout outside the listview.

0

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜