Welcome to Android Knowledge!
In this video, we will learn about navigation component in android studio using kotlin - Android Kotlin Advanced Series
Navigation Dependency:
1. gradle (app):
inside plugin -
id("androidx.navigation.safeargs.kotlin")
inside android -
buildFeatures{
viewBinding = true
}
inside dependencies -
val navVersion = "2.7.3"
implementation("androidx.navigation:navigation-fragment-ktx:$navVersion")
implementation("androidx.navigation:navigation-ui-ktx:$navVersion")
2. gradle (project)
above plugins -
buildscript {
repositories {
google()
}
dependencies {
val navVersion = "2.7.3"
classpath("androidx.navigation:navigation-safe-args-gradle-plugin:$navVersion")
}
}
Android - Kotlin (Beginners to Advanced) Playlist:
[ Ссылка ]
Join our Telegram Group:
[ Ссылка ]
Instagram:
[ Ссылка ]
My Best Laptop for Android Development:
[ Ссылка ]
Website:
[ Ссылка ]
My Laptop SSD for Fast Android Studio Experience:
[ Ссылка ]
My Laptop Stand with Cooling Fans - Avoid Heating Due to Android Studio:
[ Ссылка ]
If you have any queries or errors, please feel free to comment below :-)
Please subscribe to my channel 😊👍
Chapters:
00:00 - Intro
00:09 - Navigation
02:36 - Navigation vs Intent
03:38 - Navigation Components
03:52 - Nav Graph
04:24 - Nav Host
04:46 - Nav Controller
05:02 - Example Project
06:08 - Create Project
06:12 - Pre-requisites
10:06 - Design fragment xml
12:00 - nav_graph.xml
12:38 - activity_main.xml
14:34 - nav_graph.xml
16:38 - MainActivity.kt
18:20 - WelcomeFragment.kt
20:38 - Output
Hashtags:
#android #androidstudio #kotlin #androiddevelopment #mobileappdevelopment
Keywords:
Navigation Component in Android Studio using Kotlin | Android Knowledge
navigation,architecture component,component,nav controller,android,navcontroller,navhostfragment,android studio,fragment,transition animation,nav graph,fragments,destionation,fragment transation,action,global action,destionations,connect,animate,safe args,controller,nested graph,editor,navhost,integer,transfer,nav host,nav,data,send,guide,handle,studio,between,arg,safe,args,with,graph,value,array,gradle,string,bundle,how to,jetpack,xml,pass,host,plugin,tutorial.
Disclaimer:
We are a participant in the Amazon Associates Program, an affiliate marketing program designed to provide a means for us to earn fees when you click on a product link and make a purchase at no extra cost to you.
All rights reserved by Android Knowledge ©
![](https://s2.save4k.ru/pic/yWWuOqFRwfg/maxresdefault.jpg)