background icons
background icons 2

Video Belajar

Tonton dan pelajari berbagai topik menarik melalui video pembelajaran eksklusif dari Channel Android Knowledge.

Android Knowledge

10090

Navigation Component in Android Studio using Kotlin | Android Knowledge

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:
https://www.youtube.com/playlist?list=PLQ_Ai1O7sMV0LRCZJaHpl_9WLQunMqrzG

Join our Telegram Group:
https://t.me/androidknowledge

Instagram:
https://www.instagram.com/android_knowledge/

My Best Laptop for Android Development:
https://amzn.to/3wVfgnE

Website:
https://androidknowledge.com

My Laptop SSD for Fast Android Studio Experience:
https://amzn.to/40qvoLo

My Laptop Stand with Cooling Fans - Avoid Heating Due to Android Studio:
https://amzn.to/3RxeGpV

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 ©