Die Navigation Component (Teil von Jetpack) ist die empfohlene Methode zum Handhaben von In-App-Navigation — Bewegung zwischen Zielen (Fragments oder Composables) innerhalb einer Single-Activity-Architektur. Sie zentralisiert die Navigationslogik und verwaltet den Back Stack, Argumente und Deep Links.
Was sie bietet
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)
