简体   繁体   中英

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 in a row?

在listadapter的getView(...)中,只需对组成列表行中列的列使用setOnClickListener()-即,因为该行是listview之外的常规布局。

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM