android - 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 :)
解决方案
推荐阅读
- html - SVG 在 Webkit 浏览器上留下“痕迹”
- javascript - 如何使用 JavaScript 显示计算机当前的 RAM 使用情况?
- python-3.x - 从 Python 中检索 PostgreSQL 哈希密码
- react-native - 将 JS 文件放入 react-native-web 资产中
- vhdl - 创建 Graphviz 点库/导入
- python - 在 Django 中查询中间表
- html - 视频不会在移动设备上自动播放
- javascript - webpack 插件可以预处理 TypeScript 文件吗?
- haskell - Haskell:没有因使用“打印”而产生(Show Exp)的实例
- reactjs - 从选定的复选框设置数组