Navigation Compose on every screen size
summary
Demonstrates a concrete pattern to reuse a single NavHost and NavController across phones, tablets and foldables by hoisting the controller, choosing bottom navigation or navigation rail by window size class, and extracting the NavHost into movableContentOf so its state moves with the UI. Shows list/detail implemented as a single responsive destination, uses BackHandler for compact back behavior and nested NavHost for detail-only flows. The approach is practical and preserves backstacks and state across size changes.
AI-written summary · about
chapters (4)
related talks
14mNavigation Compose on every screen size
49mNavigation Component, feedback from the trench
14mImplementing Android apps for all screen sizes
06mType safe, multi-module best practices with Navigation Compose
30mBreaking the Rules: Dynamic Navigation in Modularized Apps
46mExploring Navigation Libraries for Compose
41mNav2, Nav3… Or Roll Your Own? — Building to Understand Nav3’s Design Intent
33mBuild adaptive apps with Jetpack Compose
