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:
.
.
.
.
Смотрите видео How to use Safe args to pass data between fragments? Android studio | Kotlin. онлайн без регистрации, длительностью 09 минут 33 секунд в хорошем hd качестве. Это видео добавил пользователь Mohsen Mashkour 14 Февраль 2023, не забудьте поделиться им ссылкой с друзьями и знакомыми, на нашем сайте его посмотрели 2 тысяч раз и оно понравилось 41 людям.