android list view clickable problem

前端 未结 2 1552
不知归路
不知归路 2020-12-20 19:45

i have this customized list. each row contains an image and two lines of text one below the other. i want to open a new activity when any list item is clicked. but i am not

2条回答
  •  感动是毒
    2020-12-20 20:38

    I think there is a bug in the SDK that prevents the onItemClickListeners from firing when there are focusable views in the View of your items.

    So you should try to do a setFocusable(false) on all the Views of your items.

    The problem is described here

提交回复
热议问题