SimpleAdapter adapter = new SimpleAdapter{
this,
list,
R.id.lv,
String[],
int[]
}
Bug处理:当ListView布局中出现按钮时,会出现按钮抢夺了行的点击事情,导致点击行后无响应。这时需要设置descendantFocusability=“blockDescendants",使行能够获得焦点
原文地址:https://www.cnblogs.com/xxie12/p/11484268.html
时间: 2024-10-21 20:07:59