Android Navigation Component Not Displaying Fragment

不想你离开。 提交于 2019-12-02 02:12:09

I had a layout in another library in my project with the name "fragment1.xml". It must have been conflicting with the other layout I was trying to inflate in Fragment1. Renaming the Fragment1 layout fixed the issue.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!