here I will tell you how to be an android developer by building simple Android apps on Android Studio, using the Kotlin language.
In this video, I will show you how to use The Navigation Component safe args to pass the data between fragments in your apps.
If you like the content, buy me a coffee by clicking on this link.
You can find the source codes of this video here:
-------------------------------------------------
dependency:
buildscript {
repositories {
google()
}
dependencies {
def nav_version = "2.5.3"
classpath "androidx.navigation:navigation-safe-args-gradle-plugin:$nav_version"
}
}
-------------------------------------------------
plugin:
id 'androidx.navigation.safeargs.kotlin'
-------------------------------------------------
Related videos:
-------------------------------------------------
Timestamps:
00:10 Introduction
00:50 Changes in layout
01:13 Adding dependencies
03:00 Make an argument and navigate from the first fragment to the second fragment
06:00 Extracting the data in the second fragment
07:47 Testing the App
08:15 Ending
---------------------------------------------------
Join me on social media:
MkrDeveloper website:
MkrDeveloper Instagram page:
MkrDeveloper Telegram Chanel:
MkrDeveloper Discord server:
.
.
.
.
Watch video How to use Safe args to pass data between fragments? Android studio | Kotlin. online without registration, duration 09 minute 33 second in high hd quality. This video was added by user Mohsen Mashkour 14 February 2023, don't forget to share it with your friends and acquaintances, it has been viewed on our site 2 thousand once and liked it 41 people.