listview item with button not responding to onListItemClick

前端 未结 4 2033
我在风中等你
我在风中等你 2021-01-26 02:52

I am working on an app where the list item are complex, TextView and two ImageButtons. I have looked at the around for a solution, and tried all that I have seen, still nothing.

4条回答
  •  时光说笑
    2021-01-26 03:44

    Make the ListFragment implement the View.OnClickListener interface, and implement the code you want to be called when the button are pressed in the method OnClick(View view), which is @Override

提交回复
热议问题