WEBVTT

00:01.070 --> 00:02.210
Welcome back.

00:02.240 --> 00:07.550
The first step is to add the navigation component library to our application.

00:07.580 --> 00:12.590
For that, go to Android Studio and create a new project called Navigation App.

00:12.590 --> 00:22.460
Then go to Developer.android.com slash develop slash UI, slash compose slash navigation or simply you

00:22.460 --> 00:27.200
can search for navigation component with compose dependency.

00:27.230 --> 00:28.250
Scroll down.

00:28.250 --> 00:33.050
The navigation component provides support for Jetpack Compose applications.

00:33.050 --> 00:39.680
You can navigate between Composables while taking advantage of the navigation components, infrastructure,

00:39.680 --> 00:41.090
and features.

00:41.090 --> 00:42.020
For that.

00:42.020 --> 00:50.210
Copy this and to support compose, use the following dependency in your app modals Build.gradle file.

00:50.240 --> 00:53.630
Go to Android Studio and go to build.gradle.

00:53.660 --> 00:56.210
Locate the module app.

00:56.210 --> 01:00.110
Search for dependencies and paste it here.

01:00.140 --> 01:04.340
This is the dependency for the navigation component.

01:04.370 --> 01:07.520
Click on sync now and here we go.

01:07.550 --> 01:11.000
This is our navigation component dependency.

01:11.000 --> 01:11.660
Close it.

01:11.660 --> 01:16.520
And now our application is ready to use navigation component.
