Navigation Component (součást Jetpacku) je doporučený způsob, jak zvládat navigaci v aplikaci — přesun mezi destinacemi (fragmenty nebo composables) v rámci single-Activity architektury. Centralizuje navigační logiku a zpracovává back stack, argumenty a deep linky.
Co poskytuje
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)
