Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fragment栈的问题 must call loadRootFragment first #1253

Open
minveYu opened this issue Aug 21, 2020 · 1 comment
Open

fragment栈的问题 must call loadRootFragment first #1253

minveYu opened this issue Aug 21, 2020 · 1 comment

Comments

@minveYu
Copy link

minveYu commented Aug 21, 2020

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 不是已经
执行过了吗?

@lmDai
Copy link

lmDai commented Aug 25, 2020

问题解决了吗?我也遇到了这个问题Can't find container, please call loadRootFragment() first!

me.yokeyword.fragmentation.TransactionDelegate.getTopFragmentForStart(TransactionDelegate.java:388)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants