Navigation Compose meet Type Safety

  Рет қаралды 15,868

Android Developers

Android Developers

Күн бұрын

Пікірлер: 45
@AndroidDevelopers
@AndroidDevelopers 2 ай бұрын
Subscribe for the latest updates → goo.gle/AndroidDevs
@vahekhachaturian2424
@vahekhachaturian2424 2 ай бұрын
this is how all this videos should have been made. no bs corporate music, no apple style excitement, no weird acting. just a normal person sharing her knowledge. please only do this way, don't be annoying. please.
@irinanevidimka2748
@irinanevidimka2748 2 ай бұрын
I was going to say the same. So just echoing what you said. Awesome. Many thanks to the presenter (and whomever prepared this crystal clear video).
@leonelp9593
@leonelp9593 2 ай бұрын
agreed
@dj_256
@dj_256 2 ай бұрын
Actually, as an iOS dev, this very Apple style and I like it
@stevensilitonga
@stevensilitonga 2 ай бұрын
it also helps that the speaker isnt some bulgarian 47 year old with an ielts speaking score of 2.5
@phaZZi6461
@phaZZi6461 2 ай бұрын
untapped voice talent
@rishavkumar7133
@rishavkumar7133 2 ай бұрын
this was by far the best informative video from this channel looking forward to see more videos from Clara
@khoa-omega
@khoa-omega 2 ай бұрын
Hay từ giọng nói cho đến nội dung. From Việt Nam with love 🇻🇳🇻🇳🇻🇳
@ahmetozcan2278
@ahmetozcan2278 2 ай бұрын
Thank you for great content. Can you also give an example for how to return a result to previous destination ?
@pantelischas9460
@pantelischas9460 2 ай бұрын
very helpful, the previous implementation was a nightmare for complex data to pass
@quantumgaming7
@quantumgaming7 2 ай бұрын
Best video and best presenter till date loved the content loved the presentation. Please bring her with more topics ❤❤❤
@k4ba
@k4ba 2 ай бұрын
Nice explanation, very relaxing too
@argahutama
@argahutama 2 ай бұрын
Clear explanation. Thanks.
@abhisheksaxena518
@abhisheksaxena518 2 ай бұрын
Really nice and simple explanation
@smallbig857
@smallbig857 2 ай бұрын
Thanks, it's really convenient (well, maybe except the decision to deal with path in deep links, which may be controversial)
@mubaraknative
@mubaraknative 2 ай бұрын
Waiting for stable release for type safe navigation in compose nav since 2.8.0-alpha08, Now it is stable Voila!
@5taycool
@5taycool Ай бұрын
Could please specify where you put BotttomNavigation? Is it in Scaffold, that wraps all NavHost?
@achmadichzan
@achmadichzan 2 ай бұрын
This is very important!
@Maheshbaraiya919
@Maheshbaraiya919 2 ай бұрын
Helpful
@johnnykeener3727
@johnnykeener3727 2 ай бұрын
Subscribed!
@StraplessReligion
@StraplessReligion 2 ай бұрын
Shiny new API...but is there any migration path for old XML based apps ...or multi module apps where all you can do is adding hacks or stick to deep links usage
@austin17ng
@austin17ng 10 күн бұрын
I have just experimented with NavType. It doesn't support to have a class in another class. For example: @Serializable data class Profile(val settings: Setting, val name: String), @Serializable Setting(val name: String). It didn't work
@aabhishek4911
@aabhishek4911 2 ай бұрын
Funny that they knew that removing type safety was a bad thing still they went ahead with it and now had to bring in the type safety back.
@pyaesonehan19
@pyaesonehan19 Ай бұрын
@sergioqcostas
@sergioqcostas 2 ай бұрын
how about a navgraphbuilder with SharedTransitionScope composables?
@shafaquesattar
@shafaquesattar 2 ай бұрын
Why aren't they using kotlin-parcelize ?
@龔詩測試機1號
@龔詩測試機1號 2 ай бұрын
Google is preparing navigation library as a KMP(Kotlin Multiplatform) solution, so it shouldn't contain any android-related components
@shafaquesattar
@shafaquesattar 2 ай бұрын
@@龔詩測試機1號 ohh I see. Thanks 👍🏼
@TamHac
@TamHac 2 ай бұрын
Hello, how can I navigate to a navigation graph with parameter and pass it to the startDestination?
@TamHac
@TamHac 2 ай бұрын
I found it! Here is how: composable { navBackStackEntry -> val parameter= remember(navBackStackEntry) { navController.getBackStackEntry() .toRoute().parameter } ... ) }
@timelord94
@timelord94 Ай бұрын
about time
@TheMikkelet
@TheMikkelet 2 ай бұрын
What if I want to pass another data class as parameter? Like `data class LogginId(profile: Profile)`
@carrie5230
@carrie5230 2 ай бұрын
Use the link "Navigation Compose meet Type Safety blog" in the video description. There is a section that called "Custom types".
@TheMikkelet
@TheMikkelet 2 ай бұрын
@@carrie5230 Keep getting "Navigation destination that matches request cannot be found in nav graph" error
@carrie5230
@carrie5230 2 ай бұрын
@@TheMikkelet Can't post a link, but try to recreate the code from the Custom Types section where the "Search" navigation route parameter type is the "SearchParameters" data class.
@GakisStylianos
@GakisStylianos 2 ай бұрын
The docs cover how to add custom NavTypes
@Slai47
@Slai47 Ай бұрын
Put it in a view model that both composables can access so you don't have to worry about type safety
@abhilashpatel3036
@abhilashpatel3036 2 ай бұрын
is she AI or ready to be replaced by AI?
@SunAndMoon-zc9vd
@SunAndMoon-zc9vd 2 ай бұрын
I was expecting your comment. I guess AI also can replace the comment field ;)
@ursimon
@ursimon 2 ай бұрын
I am not buying it. Got ps5 slim with disc. Happy with it
Fragments in Compose
10:45
Android Developers
Рет қаралды 19 М.
ТВОИ РОДИТЕЛИ И ЧЕЛОВЕК ПАУК 😂#shorts
00:59
BATEK_OFFICIAL
Рет қаралды 5 МЛН
Practical magic with animations in Jetpack Compose
32:46
Android Developers
Рет қаралды 50 М.
Building a scalable, modularized, testable app from scratch
21:31
Android Developers
Рет қаралды 187 М.
AWS CEO - The End Of Programmers Is Near
28:08
ThePrimeTime
Рет қаралды 548 М.
Advanced layout animations in Compose (Shared elements)
30:33
Android Developers
Рет қаралды 22 М.
Type-Safe Navigation with the OFFICIAL Compose Navigation Library
10:03
All Rust string types explained
22:13
Let's Get Rusty
Рет қаралды 183 М.
Room renovations | Android Conference Talks
11:33
Android Developers
Рет қаралды 16 М.
Can a single 1.2 GHz core process 10 Gb/s? Yes, it can!
20:54
Tomaž Zaman
Рет қаралды 19 М.
Gestures in Jetpack Compose
31:33
Android Developers
Рет қаралды 25 М.
ADHD Is a Curse… Until You Learn This
17:34
ADHDVision
Рет қаралды 534 М.