The only youtuber with direct and usable approach. For the first time I understand jetpack navigation. It's so hard without a mentor. Not all heroes wear cape! Thank you!
You deserve more subs with the high-quality content you are providing especially for Jetpack Compose. Learning Compose from the former way of doing things of View and XML is difficult. You made my life easier haha
To learn something, its so important to understand the key concepts at first and this video helps to achieve them about Navigation Compose.
This video helped me to understand Compose better. Thanks alot!
legendo ti si zvijer sto se tice programiranja! svaka cast! tek sam na pocetku jetpack composea, ali kad to savladam preko udemy-ja uzimam i tvoje kurseve definitivno!
Very clear explaination. I watch around 5 videos to understande navigation but I didn't get it. But you explained it realy well. Thanks.
thank you from the bottom of my heart
Thank you so much for the video. It helped clear some confusions I had around Navigation. Using a simplified example made it easy to focus on the navigation aspect more than the UI and different screens.
Easiest explanation and practical way to integrate it, the same architecture can be used in live projects.
Man, I'm so glad I've found you. Such consise and clear instructions, with extra information about each element you are discussing which I appreciate listening to for stuff I don't understand, but also for concepts I do. Thank you! 😊
How did I miss this gold this long
Rhank you so much for your help!! I really learn a lot watching your videos! Thank you!
Frankly, it’s difficult for a beginner to understand how Navigation works in your new To-Do App, the explanations in the course are too short and superficial. Meanwhile, the topic is important and big enough, there's many approaches. And oops! Tutorial series! I didn't even expect such happiness:] Thank you very march, Stefan!
I've set the course level to be intermediate. It can be troublesome for someone who's just getting introduced with Android architecture components. However this series should be enough for beginners who are slowly adapting to Jetpack Compose. 🙌👍
Why does Android make it so difficult to do a simple navigation within the app?
Great video!! Cristal clear and easy to understand the whole process. Out of this topic, would you tell me where to start the search to import a text file into a data class? Thank you for sharing your knowledge. Thanks!
Thank you. Jetpack Compose is a big mess of a tool for me, and this helped a lot to get my project started 👍👍
That was really very useful video. Thank you very much
Thanks a lot brother , it was incredibly helpful .
Thank you. Excellent tutorial.
that was exactly what I was looking for, great !
Very straightforward and concise tutorial. Thanks a lot! Also you might want to slow down the coding a bit since some lines are skipped.
Thank You. This video is very much helpful for me. I am finding this kind of video. ❤️
My android Teacher ♥️
Thank you!)
U R the best!!! Good luck!
Great video, thanks
That was quite helpful
Amazing content as always Stefan, love it
@@StevdzaSan Where to find source code for this video? I look at your github account but still couldn't find it.
Thank you, it's helpful. 👍
Thank you. Your video was well done and well explained.
You should submit it to Google documentation.
helpful video, thanks
Should the action of the navigation be passed as a parameter so that the screens are isolated and better for testing?
for example:
HomeScreen(
onNavigateToDetail () -> Unit
)
So the NavHost is the one that manages the whole app navigation
thank you nice work ❤️❤️❤️
really professional cooool
Thank you for this!
More videos on jetpack navigation, please... I am struggling with how to save the composable state which is populated with a coil image when navigated away and back to a composable
Thanks!! Amazing
Awesome m8 son
Than you sir, staractivity is more concise. Kinda new learning curve of my IQ is very low sad. Thanks again. This is compose not activity like one page app react js.
Supppose I am sending other params in my LoginPage like @Composable
fun LoginScreen(
viewModel: LoginViewModel,
navController: NavController
) { ... } then in this case how I only send LoginScreen(navController = navHostController) in my LoginScreen in SetupNavGraph class. it is showing error because viewModel is also required??
thank you sir
how can we navigate between activities using navigation component and jetpack compose?
Does this only apply to android or can the navigation components also be used for desktop apps?
I used to use xml for navigation.
So is this now the official way to use navigation for Jetpack compose?
Thank you
You are the best
great video
When compiling I got the error "java.lang.IllegalStateException: 2. expected value parameter count to be higher: rememberNavController(
)"... Any ideas?
Hi this video has been a lifesaver .
You don't need startActivity. Because with Jetpack Compose you'll gonna need only a single activity.
Hi Stevia-San, I am new to Jetpack/Kotlin/Android, I did develop three apps for IOS, I want to red0 these now for Android, can you use Activity file instead of plan *.kt files to navigate to and from, thanks let me know
will navigation using intent be a bad practice
whare are the dependencies used?? and the gradle set up
do you have a github repo where the final project is saved?
I set an Icon to be clickable and when clicked it is supposed to navigate to a different screen, but the app just crashes. Any reasons that could happen? Everything else is set up the similar to this tutorial.
@Composable
fun MainMenu(navController: NavController) {
Row(
modifier = Modifier
.padding(bottom = 150.dp)
.background(Color.Gray)
.fillMaxWidth(),
horizontalArrangement = Arrangement.SpaceEvenly,
verticalAlignment = Alignment.Bottom,
)
{
Icon(
painter = painterResource(id = R.drawable.ic_baseline_calendar_today_24,),
contentDescription = "calendar",
modifier = Modifier.clickable { navController.navigate(route = Screen.CalendarScreen.route) }
)
Icon(painter = painterResource(id = R.drawable.ic_baseline_checklist_24), contentDescription = "mealList")
Icon(painter = painterResource(id = R.drawable.ic_baseline_dinner_dining_24), contentDescription = "cookBook")
}
}
Nice, I noticed that you have shifted to Kotlin. Do you think it is a good idea or should I stick to Java?
Aleluia and Amen.
Accolades tot you my big friend, nice work, I have been watching all your videos, please when are we expecting something like news app with jetpack Compose, and chat app with jetpack compose,
java.lang.ClassCastException: java.util.LinkedHashSet cannot be cast to java.util.List I got exception while Using NavHost
I am working on Navigation Component with same "androidx.navigation:navigation-compose:2.4.0-alpha10" dependency.
I have 3 different nav graphs for my bottom navigation view. Where i have FragmentA> FragmentB > Fragment C in sequence in any one graph. Now the user is at Fragment C and he/she click again on the selected menu item from the bottom navigation. Using navigateUp() method works fine but it follows path is FragmentC to FragmentB then Again I need to call navigateUp() for FragmentB to FragmentA.
but I want that if the user clicks on the bottom menu item as reselected then he navigates back to the root fragment that is Fragment A.
How can I do this kind of stuff?
@@StevdzaSan i had tried but its not working. i want like whether how many sub child I had go inside but when I click same bottom menu item it should clear all stack and navigate me to home fragment for that particular graph.
How to prevent re-render of previous screen when navigating back - Jetpack Compose? Please, help me.
Hi, how to pass data when we navigate to other screen?
2023: If you are having the error "java.lang.ClassCastException: java.util.LinkedHashSet cannot be cast to java.util.List"
change the versions of the dependencies to:
implementation 'androidx.navigation:navigation-runtime-ktx:2.5.3'
implementation 'androidx.navigation:navigation-compose:2.5.3'
buildscript {
ext {
compose_ui_version = '1.3.3'
}
}
Bro Thank You So much! I legit spent hours trying to figure out what I did wrong.
i keep getting the error message "Navigation graph has not been set for NavController" what could i be doing wrong?
I have a problem of duplication class formed what I do ??
Wonderful
Very useful video! Are you planning to continue this series on Navigation in Jetpack Compose?
Just released the new video in this series, check it out on my channel. And yeah there will be more videos! 😊
awesome
Nice
Nice video and very helpful. Thank you for your hard work ❤
is it possible to have Shared element Transition with Jetpack Compose, like in XML we have to add "android:transitionName = "example" " to make an object transform from On Activity/Fragment to another?
How can i get the source code
what if there will be LazyColumn?
Just make the item view inside LazyColumn clickable and onClick do navController.navigate( yourRoute) - if you were referring to a List -> Details relationship . You can also add parameters to pass data to your Details screen.
You could explain the same but using good practices and not passing the navController through all the views I want to know how to do that and nobody explains it
Thank to You Stevdza-san ( ノ ゚ー゚)ノ Keep Going
I'm having trouble with closed captioning in this video
worked..
Udemy should make a difference for peaple from richer countries and the not so rich.
I can provide you a discount coupon code to help you out. Send me a message on Instagram.
instead of : navController. navigate(Screen.Home.route) {
popUpTo(Screen.Home.route) {
inclusive = true
}
}
I used : navController.popBackStack(Screen.Home.route, false)
I tried it with inclusive true, it took me to a blank screen, but false then seemed to give me my desired result, but not sure why it has to be false here and true in your example?
I added following lines inside build script
dependencies{
classpath "org.jetbrains.kotlin:kotlin-gradle-plugin:1.5.20"
}.
Without it the app crashed in my mobile phone.
Thanks!
how to use it with popUpToId? becuase popUpTo is deprecated
Be sure to add dependency: 🙃⬇
implementation "androidx.navigation:navigation-compose:2.4.0-alpha10"
still alpha? is it ready for production release?
@@rahmataulia Yeah it is.
Source code link please?