Android Navigation
Navigation Component, NavController, SafeArgs, Deep Links, Bottom Navigation, Drawer
1What is Jetpack's Navigation Component?
What is Jetpack's Navigation Component?
Відповідь
Navigation Component is a Jetpack library that simplifies navigation between destinations (fragments/activities). It offers automatic back stack management, SafeArgs for type-safe arguments, navigation graph visualization, and handles deep links. It's Google's recommended solution for navigation in modern Android apps.
2What is a Navigation Graph?
What is a Navigation Graph?
Відповідь
A Navigation Graph is an XML file (stored in res/navigation/) that visually defines all navigation destinations (fragments, activities) and transition actions between them. It allows visualizing the app's navigation flow and defines arguments passed between destinations. It's the central file of Navigation Component.
3What is the NavController?
What is the NavController?
Відповідь
NavController is the central object that manages navigation within a NavHost. It allows navigating between destinations (navigate()), going back (popBackStack()), and managing the back stack. It's obtained via findNavController() from a Fragment or Navigation.findNavController(view). It executes actions defined in the Navigation Graph.
What is the NavHost?
How to navigate to a destination with NavController?
+23 питань зі співбесід
Інші теми співбесід Android
Android Fundamentals
Android UI and Resources
Android Lifecycle
Android Data Management
Android Networking
Android Testing
Android Gradle
Kotlin Language Essentials for Android
Room Database
Background Work
Jetpack Compose
Permissions and Device Features
Firebase for Android
Android MVVM Architecture
Advanced Android Networking
Kotlin Collections and Operators
Kotlin Coroutines and Flow
Android Dependency Injection
Android MVI Architecture
Android Clean Architecture
Android Compose Advanced
Android Performance and Monitoring
Android Security and Privacy
Android CI/CD and Release
Android UX and Form Factors
Android Testing Advanced
Опануй Android для наступної співбесіди
Отримай доступ до всіх питань, flashcards, технічних тестів, вправ code review та симуляторів співбесід.
Почни безкоштовно