Тёмный

Jetpack Compose Navigation: The Complete Beginner's Course 

Daniel Atitienei
Подписаться 3 тыс.
Просмотров 3,9 тыс.
50% 1

In this video, you'll learn how to navigate between screens in Jetpack Compose.
Let's connect 🤗:
/ daniel-atitienei
Blog post: / navigation-in-jetpack-...
Repository: github.com/dan...
Do you like my content? Here you can buy me a coffee ☕:
www.buymeacoff...
#jetpackcompose #android #kotlin #androiddeveloper #xml #compose #development #developer #programmer #AndroidDevelopment #mobiledevelopment #appdevelopment #programmingtips #androidtips #mobileappdevelopment #androidstudio #KotlinProgramming #googleplaystore #userinterfacedesign #apiintegration #softwareengineering

Опубликовано:

 

15 окт 2024

Поделиться:

Ссылка:

Скачать:

Готовим ссылку...

Добавить в:

Мой плейлист
Посмотреть позже
Комментарии : 28   
@goldenpiece7087
@goldenpiece7087 6 месяцев назад
Love it when a video is straight to the point! 👍
@varshagodage1505
@varshagodage1505 3 месяца назад
This was really easy to understand, Thank you😊
@daniel.atitienei
@daniel.atitienei 3 месяца назад
Glad to hear that! You’re welcome!
@kqvanity
@kqvanity 7 месяцев назад
5:51 You can also conventionally navigate back to the first screen, then popUpTo it as well with inclusive set to true, if you wanna pass data back I suppose. 6:13 What if you wanted to preserve the state as well?
@shunucode
@shunucode Год назад
Thank you very much bro..
@daniel.atitienei
@daniel.atitienei Год назад
You’re welcome 🤗
@thiagogomes9043
@thiagogomes9043 Год назад
really easy to understand. Nice job.
@daniel.atitienei
@daniel.atitienei Год назад
I'm glad that it was helpful!
@sirmong2
@sirmong2 Год назад
Such a nice video, thank you! BTW, what a nice IDE! Is it some customised Android Studio? If so - can you share which plugins do you use?
@daniel.atitienei
@daniel.atitienei Год назад
I am using the new UI that is available on Android Studio canary (Giraffe). I also use the Material Theme UI plugin with the Material Darker theme
@sirmong2
@sirmong2 Год назад
@@daniel.atitienei oh, thank you! So, I need just to wait for the new release =)
@balusekhar
@balusekhar Год назад
If we have more screens then passing functions 1 for moving forward and other for moving backwards would not be feasible. Any good alternative other than passing as functions?
@daniel.atitienei
@daniel.atitienei Год назад
I think that this is the best way to do it: medium.com/@daniel.atitienei/navigation-in-jetpack-compose-88a92c40e98b#055f
@character640p
@character640p Год назад
You deserve more subs and likes, bro.
@daniel.atitienei
@daniel.atitienei Год назад
Thank you!
@lamineemb
@lamineemb Год назад
Amazing Dani!
@daniel.atitienei
@daniel.atitienei Год назад
Thank you! 😼
@adrenalin497
@adrenalin497 Год назад
Hi, I have 3 screens. My "sealed class Screen" contain this: "object Home", "object Favorites", "object Settings" but "Home Screen" also can navigate to some other screens. Should my "object Home" be a sealed class instead? And how i would navigate to just home screen if it will be a sealed class instead object?
@daniel.atitienei
@daniel.atitienei Год назад
You can make all of them data classes not sealed classes and add a route parameter in the Screen constructor. This will be used to navigate to other screens: sealed class Screen(val route: String) { object Home: Screen("home") object Favorite: Screen("favorite") } @Composable fun Home( navigate: (String) -> Unit ) And that function will be called for example when you press a button: navigate(Screen.Favorite.route)
@tatianasirbu3837
@tatianasirbu3837 Год назад
🕶 cool video
@daniel.atitienei
@daniel.atitienei Год назад
Thank you!
@tomlight4643
@tomlight4643 Год назад
Thanks bro really helped
@daniel.atitienei
@daniel.atitienei Год назад
Glad to hear that!
@marlonlom
@marlonlom 4 месяца назад
When using navigation, and going to a detail destinatation, if the device/tablet is changed to landscape, how to config the navigation backstack to display the twopane layout correctly ?
@daniel.atitienei
@daniel.atitienei 4 месяца назад
Try this: blog.stackademic.com/building-a-list-detail-layout-in-jetpack-compose-9a9f841fc42e?sk=5b9cd7ce7f7b5be545daede7f3691eae
@pabloscloud
@pabloscloud 9 месяцев назад
Thanks, that really helped :)
@daniel.atitienei
@daniel.atitienei 9 месяцев назад
I’m happy to hear that! 😊
@dclasses662
@dclasses662 Год назад
Please sir make videos jetpack compose with sqlite databases..
Далее
Real-time Password Validation in Jetpack Compose
10:26
Просмотров 1,7 тыс.
Grand Final | IEM RIO 2024 | BO5 | КРNВОЙ ЭФИР
6:35:24
23 - NAVIGATION - Android Jetpack Compose
19:25
Просмотров 12 тыс.
Become a bash scripting pro - full course
36:00
Просмотров 61 тыс.
Navigation Component - Android Studio Tutorial
12:11
Просмотров 176 тыс.
Full Guide to Bottom Sheets - UX With Material3
11:54