clicking on the fragment invokes activity behind it

后端 未结 5 1111
情书的邮戳
情书的邮戳 2021-01-01 16:31

Im guessing its something really simple, maybe a setting in listview or fragment. But I couldnt find solution for it for couple of hours now. So.. I have a listView like thi

5条回答
  •  情话喂你
    2021-01-01 17:14

    So, I had exactly the same issue, I still don't know the reason why, but make sure your adding the android:clickable="true" to the roovView of your 2nd fragment's layout.

    something like this:

    
    .....any content for your item (2nd fragment).....
    
    

提交回复
热议问题