首页 > 解决方案 > Fragment not showing up with recycleView

问题描述

I have a general question. After dynamically defining a fragment that contains an EditText and a RecyclerView, by onClicking() a button we are supposed to see that fragment but it doesn't appear. Only after I delete the RecyclerView the fragment shows up.

moreover its there any rules for defining a frame layout in XML file to the container of my fragment? Thank You :)

标签: androidandroid-fragments

解决方案


推荐阅读