Перейти к содержимому

Jetpack Navigation Component in One Video

CodingWithMitch

0:00 / 0:00

Jetpack Navigation Component in One Video

167 909 просмотров · 7 лет назад
CodingWithMitch
143 тыс. подписчиков
167 909 просмотров · 7 лет назад
Android Jetpack and architecture courses: https://codingwithmitch.com/courses/ In this video I show you everything you need to know to get stared with android jetpack navigation component library. This example is using Kotlin. I show you: 1) Creating a project with Kotlin and androidX 2) Navigation Component dependencies 3) Creating a navigation graph 3) NavHostFragment (Navigaton Host Fragment) 4) Adding fragments to the navigation graph 5) NavController and navigating between fragments 6) Fragment transition animations using the navigation graph 7) Backstack management with PopUpTo and PopUpToInclusive attributes 8) Sending data as Arguments through a Bundle to a Fragment Timestamps: What you'll see in this video (0:00 - 3:31) Creating a new project (3:31 - 5:02) Dependencies (5:02 - 7:15) Creating the Navigation Graph File (7:15 - 8:40) Adding the Fragments (8:40 - 10:51) Fragment Layouts ( 10:51 - 15:17) Adding Fragments to the Navigation Graph ( 15:17 - 18:12) NavHostFragment ( 18:12 - 19:13) NavController and OnClick Listeners (19:13 - 31:44) Fragment Transition Animations ( 31:44 - 40:43 ) Backstack Management: PopUpTo and PopUpToInclusive ( 40:43 - 46:23 ) Sending Data as Arguments through a Bundle to a Fragment ( 46:23 - end ) Code: https://github.com/mitchtabian/Naviga... Instagram:   / codingwithmitch