从当前目的地目的地找不到导航
x,y 2片段
- x到y工作(x-> y)
- cames y to y to x workes(y-> x)
- 再次从x(x-> y)转到y(x-> y)崩溃并说(片段不能是片段从当前目的地目的地(COM)启动片段,
使用以下代码启动片段
findNavController().navigate(action)```
I just do ```findNavController().navigateUp()``` in Y fragment while coming back
Args are being sent and received successfully.
X, Y 2 fragments
- X to Y Works (X->Y)
- Cames back Y to X works (Y->X)
- again go to Y from X (X->Y) It crashes and says (Fragment cannot be found from the current destination Destination(com)
Starting fragment with below code
findNavController().navigate(action)```
I just do ```findNavController().navigateUp()``` in Y fragment while coming back
Args are being sent and received successfully.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论