Let's take the profile screen for example. It has a name and an email. The composable function will look like this: @Composable fun ProfileScreen(profile: Profile) {} The composable from the NavGraph will look like this: composable { val args = it.toRoute() ProfileScreen( profile = args ) }
can make a proper video in which fetch api data like fake store api and showing item in lazycoloumn then click on any item that are showing in lazycolumn it navigate to detail screen and showing selected item data and item description of selected item that are coming in response on detail screen by using Type-Safe Navigation in jetpack compose thanks in advance if you make this video that become very helpfull for all
I like compact tutorials like this. great job 👍
Thank you!
How to access args inside viewModel? Thanks for this tutorial!
I think that you need to hoist the viewmodel instance to apply args.
Can you make a video on how to implement nested navigation using type-safe-navigation ???
Super :) thanks for video bro :)) God bless you
You’re welcome! 😁
Can u make video about support different screen size and best way for that on compose
I will try!
Goog job 👍
Thanks!
How can we use this with the composables.
Let's take the profile screen for example. It has a name and an email. The composable function will look like this:
@Composable
fun ProfileScreen(profile: Profile) {}
The composable from the NavGraph will look like this:
composable {
val args = it.toRoute()
ProfileScreen(
profile = args
)
}
...
can make a proper video in which fetch api data like fake store api and showing item in lazycoloumn then click on any item that are showing in lazycolumn it navigate to detail screen and showing selected item data and item description of selected item that are coming in response on detail screen by using Type-Safe Navigation in jetpack compose thanks in advance if you make this video that become very helpfull for all
Great content buddy! +sub
Thank you! ☺️