Previous fragment visible under the new fragment

后端 未结 7 1400
心在旅途
心在旅途 2021-02-05 04:10

I have a tab + ViewPager layout and in one of these tabs I have a list view. When I replace that list fragment upon the onclick I can still see the old fragment u

7条回答
  •  臣服心动
    2021-02-05 04:19

    In the root view add clickable = true and add a background color(both in the xml) of the fragment replacing the current fragment . Its just a fix for workaround

提交回复
热议问题