ListView Item is not clickable in Android

前端 未结 4 1214
说谎
说谎 2020-12-16 04:09

In this ListView is not clickable, I want to perform an action on item click but I do not know why this is not clickable, I have also checked in debugging the controller is

4条回答
  •  时光取名叫无心
    2020-12-16 05:06

    Are you able to display list? If yes then please show that layout file holding TextView to display item in list.

    Try removing isTextSelectable from that TextView in that case.

    Check if there is some silly mistake like I made few months ago from here:

    onItemClick in ListView doesn't work

提交回复
热议问题