Fragmentation
Fragmentation copied to clipboard
fragment栈的问题 must call loadRootFragment first
Issues Guideline
Following information can help us to resolve the issue faster.
- Library version 1.0.6 androidx 版本
- Support-v4 version
- Logs
- Screenshots
In addition, we do not accept issues unrelated to Fragmentation. 首页4个tab,用的loadMultiRootFragment 加载4个同级的fragment, 现在有个情况,想其中一个fragment 去 start 另一个fragment,形成栈,可以回退, 所以这个container fragment 做了一个操作就是 再次loadRootFragment 加载想要显示的fragment 为什么想要显示的fragment start开启新fragment 的时候 报错 must call loadRootFragment first,container fragment 不是已经 执行过了吗?
问题解决了吗?我也遇到了这个问题Can't find container, please call loadRootFragment() first!
me.yokeyword.fragmentation.TransactionDelegate.getTopFragmentForStart(TransactionDelegate.java:388)