OnItemClickListener was not work with the checkbox?

前端 未结 5 1261
青春惊慌失措
青春惊慌失措 2020-11-30 10:29

I have an item layout like this, and set the background by using item selector



        
5条回答
  •  北海茫月
    2020-11-30 11:05

    Best way to do this is set these following properties for your checkbox:

      android:focusable="false"
      android:focusableInTouchMode="false"
    

    I had a same issue and did this.

提交回复
热议问题