Onclicklistner not working in fragment listview

前端 未结 10 1299
不知归路
不知归路 2020-12-11 06:49

I have a listview with custom adapter in listfragment and also set onclicklistner for listview. But Onclicklistner does not work.

Here is my code:

p         


        
10条回答
  •  遥遥无期
    2020-12-11 07:26

    @Override
    
    public void onListItemClick(ListView l, View v, int position, long id) {
        // TODO Auto-generated method stub
        super.onListItemClick(l, v, position, id);
    }
    

提交回复
热议问题