Het Navigation Component (onderdeel van Jetpack) is de aanbevolen manier om in-app navigatie af te handelen — beweging tussen bestemmingen (fragments of composables) binnen een single-Activity architectuur. Het centraliseert navigatielogica en handelt back stack, argumenten en deep links af.
Wat het biedt
The Navigation Component manages navigation within the app:
→ a NAV GRAPH defines destinations (screens) and the actions (paths) between them
(visually/declaratively — one place to see all navigation)
→ a NavController performs navigation; handles the BACK STACK automatically
→ type-safe ARGUMENT passing (Safe Args); deep linking support
→ Designed for SINGLE-ACTIVITY architecture (one activity, many fragment/composable destinations)
