list.setOnItemClickListener(new OnItemClickListener() {public void onItemClick(AdapterView<?> parent, View view,int position, long id) {boolean checked=list.getCheckedItemPositions().get(position);if(checked){//选中}else{//取消选中}}});

更多相关文章

  1. android 异常 Unable to instantiate activity ComponentInfo
  2. C#开发android之alertdialog用法
  3. android完全退出程序
  4. com.android.ide.common.signing.KeytoolException:Failed to re
  5. Android如何使用selector设置RelativeLayout的背景
  6. Android中Spinner根据value来选择选中项
  7. android TabHost(选项卡)的使用方法
  8. 修改Android默认的RadioButton样式
  9. Android菜单应用(Menu)

随机推荐

  1. C++开发安卓、windows下搭建Android NDK
  2. Android文章说明总结
  3. 《Android(安卓)JNI》01 配置环境
  4. Android中AppWidget加载流程
  5. [置顶] GPSMapEdit
  6. android opencv环境的搭建
  7. 安卓项目多dex支持
  8. Android文件存储(写入,读取,删除)
  9. Android: 屏蔽屏幕旋转响应
  10. Android SystemProperties设置/取得系统