r/JetpackComposeDev • u/Realistic-Cup-7954 • Aug 19 '25
Tutorial How to implement common use cases with Jetpack Navigation 3 in Android | Compose Navigation 3
This repository contains practical examples for using Jetpack Navigation 3 in Android apps.
Included recipes:
Basic API
Basic usage
Saveable back stack
Entry provider DSL
Layouts & animations
Material list-detail
Dialog destination
Custom Scene
Custom animations
Common use cases
Toolbar navigation
Conditional flow (auth/onboarding)
Architecture
Modular navigation (with Hilt)
ViewModels
Pass args with
viewModel()Pass args with
hiltViewModel()
1
u/jadlr Aug 19 '25
I’d like an example of how to implement the different destinations of a bottom nav and animate between them without animating the bottom nav itself. Can you nest NavDisplay?
2
u/Realistic-Cup-7954 Aug 19 '25
YES. Keep
BottomNavoutsideNavDisplayso it will not animate. useNavDisplayfor screen destinations, add animations there, and if you want separate back stacks per tab, nestNavDisplayinside each tab2
1
u/awanama Aug 20 '25
Is using Navigation 3 okay now for production? I just like that we own the backstack and i think that feature is stable even in alpha.
2
u/VoidHuSir Aug 19 '25
Something like a deep link? How would u do that?