OnItemClickListener on a ListView inside a Fragment not working

后端 未结 7 1504
粉色の甜心
粉色の甜心 2020-12-29 09:11

EDIT: SOLVED. If there\'s anything focusable in the XML of the items, it will break the touch of the list, in other words, android:focusable=false to all the checkbo

7条回答
  •  不知归路
    2020-12-29 09:35

    Just put

    android:focusable="false"
    android:clickable="false"
    

    in layout. For all textviews,buttons etc.

提交回复
热议问题