给Listview里面Item里的每一个控件怎么设定点击事件

2025-01-05 00:53:54
推荐回答(1个)
回答1:

listView.setOnItemClickListener(new OnItemClickListener()
@Override
public void onItemClick(AdapterView parent, View view, int position, long id) {
//TODO Auto-generated method stub

}
});