Overview
Learn to implement the Android Jetpack Navigation Component in this comprehensive video tutorial. Discover how to create a project with Kotlin and AndroidX, set up Navigation Component dependencies, and build a navigation graph. Explore the NavHostFragment, add fragments to the navigation graph, and master the NavController for seamless navigation between fragments. Dive into fragment transition animations, backstack management using PopUpTo and PopUpToInclusive attributes, and learn to send data as arguments through a Bundle to a Fragment. Follow along with timestamps for easy navigation through topics, and access the provided GitHub repository for code examples. Perfect for Android developers looking to enhance their skills in modern app architecture and navigation.
Syllabus
What you'll see in this video 0:00 -
Creating a new project 3:31 -
Dependencies 5:02 -
Creating the Navigation Graph File 7:15 -
Adding the Fragments 8:40 -
Fragment Layouts 10:51 -
Adding Fragments to the Navigation Graph 15:17 -
NavHostFragment 18:12 -
NavController and OnClick Listeners 19:13 -
Fragment Transition Animations 31:44 -
Backstack Management: PopUpTo and PopUpToInclusive 40:43 -
Sending Data as Arguments through a Bundle to a Fragment - end
Taught by
CodingWithMitch