CheckBox and setOnItemClickListener not working in android

前端 未结 4 989
时光说笑
时光说笑 2021-01-28 02:45

I am using ListView with CheckBox. I have selected only one CheckBox but it\'s automatically selected into Multiple Rows using Scrol

4条回答
  •  感情败类
    2021-01-28 03:33

    Focusable view in the list item prevents the firing of onListItemClick() in the ListActivity when the list item is clicked. But the effect of onListItemClick() can be achieved with OnClickListener. Read here more about this

提交回复
热议问题