Yesterday was exactly two years of my sponsorship of your channel! Thank you Philipp for your videos and especially for the videos from Twitch, which two years ago opened the door to the world of development for me. Developing a full-fledged social network app on Compose with a multi-module clean architecture in combination with a KTOR backend and its deployment to the server is the best thing education material I have ever seen in my life.
@PhilippLackner3 ай бұрын
🙏❤️
@NikNewNik11 күн бұрын
THANK YOU PHILIPP !!! It works !😃👍
@cfa5322 ай бұрын
The 2-weeks-old video is just in-time to solve my problem. Thanks a lot.
@h4ktbtw3 ай бұрын
Too bad they did not utilize the serialization fully. Registering custom NavTypes for serializable classess is such a bad design decision.
@cristian12345843 ай бұрын
Great! Philipp, do you have any video showing your Android Studio IDE configurations?
@sakibsyed7626Күн бұрын
Great and life saver ❤
@umidolimzhanov60783 ай бұрын
Great video! Can I use it somehow to return result from screen?
@renvzla3 ай бұрын
thanks for this video Philipp. Got a quick question. How could I extract the dog model from the savedStateHandle on the details screen viewmodel?
@ik024Ай бұрын
savedStateHandle.toRoute() ?
@Tbijo543 ай бұрын
Awesome video, thanks Philipp. Could you also make one explaining how to pass type safe arguments to a nested navigation?
@PhilippLackner3 ай бұрын
@@Tbijo54 that's should be no different :)
@skyles1463 ай бұрын
The only thing you need to know for nested destination is that a startDestination can't have argument. That's all.
@Bandy_K73 ай бұрын
thanks for this video. if you can make a video on android auto and automotive os it would be great.
@raulprior96353 ай бұрын
Hi Phillip can you show us how to build an interface for handle navigation actions with the navController in view models, but you know in a way that View Models still being testable, love you videos thanks so mucho
@ndiritumichael3 ай бұрын
the latest navigation release doesn't require the typeMap of enum to be passed.
@skyles1463 ай бұрын
It is required on beta07 on minified app or it will crash. There is an issue tracker on this and it will be solved in the next version 21st of August.
@mikelantzelo3 ай бұрын
Why my android studio does not recommend autocomplete like yours ? Thanks for excellent content !!!
@trungnguyenhuu81843 ай бұрын
You can turn on AI completion
@mikelantzelo3 ай бұрын
@@trungnguyenhuu8184 thank you
@raghavaggarwal86443 ай бұрын
Hi Philipp, you mentioned that one should not use this approach in case of big custom objects because the Bundle has some limits but I wonder why anyone has never highlighted the same before? Like people have been and still use Bundles for passing arguments to Fragments when they create a Fragment's instance. We are using the same Bundle class here too right?
@PhilippLackner3 ай бұрын
This has been highlighted lots of times that it's better to pass an ID and reload something from the DB rather than passing the whole object. The official docs also suggest that somewhere
@raghavaggarwal86443 ай бұрын
I see, need to read the docs about the Bundle limit. Thanks
@RABBITV2 ай бұрын
Hi Philipp , rly thank you for this video , thx to you my routing start working . L have one question to you , why you in this code in NavType use Uri.decode and encode ? Why is is important to do it ? Again thx fro the video :)
@muhammadnaveeed9382Ай бұрын
If we don't use the URI then app will crash if we have some special characters like "?", "/" in params of Custom Type like for image of User can have these, so we need to encode & decode that to string.
@nott__aceu48573 ай бұрын
I would rather save the data in a ViewModel than pass it as an argument (if its large data), What is your take on this ?
@prathivar67212 ай бұрын
Nice explanation ;) but on the first hand why does kotlin wt's to do serialisation on navigation , why can't it pass as normal parameter to constructor . fine ;;;;;)
@MattCM895 күн бұрын
How do we do this for hilt-navigation? don't they conflict?
@flowzk9213 ай бұрын
Awesome One!
@stevenrathmann78232 ай бұрын
Could you please explain how i can pass an argument from DogDetail back to DogList if the DogDetail Screen is finish?
@surjithkumar81773 ай бұрын
Is this custom nav supports to add a screen transition?
@leonelp9593Ай бұрын
i know this is 1 month old... but is this still up to date witht the 2.8.1 compose navigation ? (the stable one) or is there an easiest way to do this?
@kabindrashrestha37602 ай бұрын
Hi @PhilippLackner , How to pass Custom NavTypes in Compose MultiPlatform for Type-Safe Navigation on Android and IOS?
@animefind52643 ай бұрын
How navigate inside bottom navigation menu with type-safe
@pyaesonehan19Ай бұрын
@mudPuddlePanda3 ай бұрын
Nice
@ArthurKhazbs3 ай бұрын
why `val DogType = object` and not just `object DogType`?
@slyene62022 ай бұрын
Could you please clarify how to create nullable custom types? Because I get an error "Cannot cast ... to NavType. Make sure to provide...". I set nullable in all places where it should be and set isNullableAllowed to true, bui it doesn't work
@beqachxikvadze1426Ай бұрын
Same problem, did you find any solution?
@tweeel383 ай бұрын
Just to confirm, I don't think that feature is available for Compose Multiplatform and nor the type safe navigation, for now at least ?
@ahmedaaoua3 ай бұрын
But voyager available :)
@osisuper983 ай бұрын
Type safe navigation is already available in the last release
@tweeel383 ай бұрын
@@osisuper98 yes but from what I've tried, it still not available in kmp
@jackeblan3 ай бұрын
KMP is full of hacks and 3rd party libraries written by a guy from Finland. Not yet.
@Abhigyan1033 ай бұрын
How to pass view models between screens using this ? Please help
@malding13 ай бұрын
Why would you want to pass viewmodels?
@Abhigyan1033 ай бұрын
@@malding1 if I have 3 screens, one start screen, one with show details, one with edit details, how can I edit details without passing the view model ? I recently started learning android, this may be basic
@manticomar11463 ай бұрын
@@Abhigyan103 he has another video how to pass share view models between screens its very good
@L4szcZ3 ай бұрын
Why we are using @Serializable and not @Parcelize?
@marksunghunpark3 ай бұрын
It's Kotlin serialization, not Android thing and it's also multi platform supported. I guess they have the support in their mind.
@aj34133 ай бұрын
I agree
@trungnguyenhuu81843 ай бұрын
It's kotlin serialization, not Java serializable
@aihamhammad30743 ай бұрын
DO NOT USE IT I used compose type safe navigation in my production app, alot of crashes that are not rereducable poped up in the compose code so I was'nt able to use try and catch,crash free users and sessions droped, navigation 2.8.0 is not a stable version if u want to use some type safe navigation just convert your object to json and send it.
@aj34133 ай бұрын
Yup, plus 2.8 probably doesn't support parcelize. A lot of work needs to be done on it. That is the probable reason this version has a lot of beta releases.