Is there any way to navigate to a <dialog />
destination through an implicit deep link without opening a new activity and without the nav_graphs knowing about each other?
Suppose I have two Activities and two nav_graphs in my app.
- Activity A -> nav_graph_a
- Activity B -> nav_graph_b
Each Activity contains only one nav_graph and they do not know anything about each other (decoupling).
The current screen is a fragment from nav_graph_a
, but I want to show a dialog from nav_graph_b
without having to open a new activity and without having to include nav_graph_b
in nav_graph_a
.
Is it possible?