This course is available as part of the raywenderlich.com Professional subscription. To learn more click here
Pro

Jetpack Navigation: Getting Started

Aug 10 2021 · Video Course (37 mins) · Intermediate

In this course, learn how to use the Navigation Architecture Component provided by Android Jetpack Library to simplify navigation in your app. It also helps you visualize your app’s navigation flow. You will also learn how to add Animations and Deep links to your navigation flow.

5/5 1 Rating

Version

  • Kotlin 1.4, Android 11, Android Studio 4.2.1

Set Up Navigation

This episode covers what is Navigation Architecture component and why use it.

1

Understand the Starter App named “Authorize Me” and have a look at its different screens you are going to tie using Navigation component.

2

Add Dependencies

2:24 Free

Add required dependencies for using Jetpack Navigation in Project level and app module’s build.gradle.

3

Learn how to create a Navigation graph in the app and take a tour of three sections in the navigation graph.

4

Create Destinations & Navigate via Actions

Learn how to add a Fragment as a Start Destination in nav graph and add a NavHostFragment via XML to Main Activity.

5

Learn how to add new destinations in the navigation graph and navigate to them via actions.

6

Learn how to use safe args to pass data between destinations.

7

Add Animations & Deep Links

Learn how to add custom transition animation during navigation.

8

Learn how to add global actions for common destinations.

9

Learn about explicit and implicit deep links and how to implement an explicit Deep link.

10

Learn how to handle a web URL deep link in the app.

11

Learn how to create a custom URI that will allow you to navigate to any fragment by URI.

12

Who is this for?

This course is for Android developers who have heard about Jetpack Navigation, but haven’t tried it out and haven’t read a lot of documentation or went through many examples. It is also for people who know a little bit about Jetpack Navigation, but don’t feel comfortable enough to start using it in their apps. It expects you to be familiar with Android Studio and Kotlin. You will require Android Studio 3.3 or higher to build an app using Navigation component.

Covered concepts

  • Navigation Graph
  • Navigation Destinations
  • Navigation Actions
  • Safe Args
  • Global Actions
  • Animations
  • Deep Links

Contributors

Comments