I have a nice setup with jetpack navigation compos...
# compose
a
I have a nice setup with jetpack navigation compose + type safety, hilt, viewmodels scoped where they should be, etc … but now I’m confused again with compose adaptive navigation `*`ThreePaneScaffoldNavigator``*, specifically now who owns the viewmodels. I looked at NIA interests2pane and I’m not enlightened. Anyone have a good article explaining how to use the two navigation systems together + viewmodel scoping etc? I had separate ViewModels for list / detail in the non-adaptive version, when using things like ``ListDetailPaneScaffold`` should I have one larger one shared for both list and detail, etc
i
You might look at this prototype of Compose Adaptive + Navigation: https://android-review.googlesource.com/c/platform/frameworks/support/+/3064264
Which just has each pane as a destination in your navigation graph so all the normal stuff still works. The whole NavHost just knows how to display things side by side
👍 1