Provide interoperability with Fragments/Views
We should show examples of using Fragment and Views via their compose integrations along with Navigation3.
Can nav3 be used with traditional xml/fragments?
I'm assuming that interoperability can be achieved by embedding Fragments and Views into Compose.
Therefore, the "root" component needs to be a Composable, which holds the NavDisplay. Within the entryProvider one could embedded traditional views.
@jbw0033 Could you confirm if "this is the way"? Or whether there are other concepts planned?
Interoperability with Views and Fragments works fine with, AndroidView and AndroidFragment.
If I embed a Fragment into my screen composable using AndroidFragment, is there any way to obtain the same NavEntry-scoped view model in the Fragment that is used by the other parts of my screen composable?