In this video, we will learn about navigation in jetpack compose
you will learn
what is navigation
How to use the navigation in jetpack compose
How to use the navigation component
how to navigate from one screen to another screen
navigating Between Screens
How to work with NavController in jetpack compose
How to work with Navhost
How to use Navgraph
how to add the route
Navigate to a destination
Navigation popUpTo
---------------------------------------------------
Dependency:
dependencies {
val nav_version = "2.7.1"
implementation("androidx.navigation:navigation-compose:$nav_version")
}
If you like the content, buy me a coffee by clicking on this link. ☕☕☕
https://www.buymeacoffee.com/mkrdeveloper
Jetpack compose tutorial:
https://www.youtube.com/playlist?list=PLEGrY4uRTu5mSPW2hvxFXeRb2zFdMT2XJ
Source Codes:
https://github.com/MohsenMashkour/JetpackNavigationExample
---------------------------------------------------
Timestamps:
00:00 Introduction
01:06 New Screens
05:40 Navigation Graph
11:58 First Test
12:10 Navigation
13:15 Testing the app
15:08 PopUpTo
19:01 Ending
---------------------------------------------------
Join me on social media:
MkrDeveloper website:
https://www.mkrdeveloper.com/
MkrDeveloper Instagram page:
https://www.instagram.com/mkr.developer/
MkrDeveloper Telegram Chanel:
https://t.me/Mkr_Developer
MkrDeveloper Discord server:
https://discord.gg/YFaxXft3XE
.
.
.
.
#Android
#jetpack_compose
#kotlin
#android_studio
#kotlin_course
#android_tutorial_beginners
#android_developers
#navigation_android_jetpack_compose