alexhelder
01/03/2025, 2:17 PMalexhelder
01/03/2025, 2:20 PMalexhelder
01/03/2025, 2:23 PMmarlonlom
01/03/2025, 2:29 PMalexhelder
01/03/2025, 3:00 PMalexhelder
01/03/2025, 3:01 PMmarlonlom
01/03/2025, 5:50 PMAhmed
01/03/2025, 9:19 PMJetSnack
but the project I work on also uses 2 NavHosts and 2 Controllers. I am going to assume that they have used it for similar purpose as well.
Our usecase required us to open full screen content (not limited to opening a screen within navigation content).
You can think of this as navigating to a Screen or Content that has no link with a top level destination. e.g Auth Flows, Payment Flows, Chat Screen etc.Ahmed
01/03/2025, 9:26 PMis this doing something simply impossible with single Navhost etcIt is not really impossible. We also experimented with a single nav host + hiding the bottom navbar. The cons of this approach were: • Janky appearance even with animation. • Overhead of handling when to hide/show the navbar • A really unintuitive and a tightly coupled nav graph
alexhelder
01/04/2025, 12:24 AMmarlonlom
01/04/2025, 3:16 AM🧑🏼🦲 - | entering app first time | -> [ onboarding ] -> [ main ]Where onboarding and the main features contain its navigation host and internal contents and/or viewmodel and/or state holders
Ahmed
01/04/2025, 3:22 AMJonathan
01/05/2025, 2:01 AMmarlonlom
01/10/2025, 2:12 PMJonathan
01/10/2025, 2:23 PMnavigation<RouteType> {}
) but not their on NavHost
marlonlom
01/10/2025, 5:27 PM