Be sure to add dependency: 🙃⬇ implementation "androidx.navigation:navigation-compose:2.4.0-alpha10"
@rahmataulia3 жыл бұрын
still alpha? is it ready for production release?
@StevdzaSan3 жыл бұрын
@@rahmataulia Yeah it is.
@Sj-yf2jg Жыл бұрын
Source code link please?
@deairelle Жыл бұрын
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!
@AbolfazlKalemati2 ай бұрын
To learn something, its so important to understand the key concepts at first and this video helps to achieve them about Navigation Compose.
@leonorjohnberlinv.575010 ай бұрын
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
@StevdzaSan10 ай бұрын
Thanks! I'm really happy that I can help 😊
@tatavarthitarun2739 Жыл бұрын
How did I miss this gold this long
@asutoshpanda804 Жыл бұрын
Easiest explanation and practical way to integrate it, the same architecture can be used in live projects.
@emirsehic47282 жыл бұрын
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!
@siarheisudakou44553 жыл бұрын
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!
@StevdzaSan3 жыл бұрын
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. 🙌👍
@abovemediocrity245 Жыл бұрын
Why does Android make it so difficult to do a simple navigation within the app?
@taimoorghafar1868 Жыл бұрын
Very clear explaination. I watch around 5 videos to understande navigation but I didn't get it. But you explained it realy well. Thanks.
@aniruddha75819 ай бұрын
Very straightforward and concise tutorial. Thanks a lot! Also you might want to slow down the coding a bit since some lines are skipped.
@AmiraMohamed-jf5tl Жыл бұрын
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.
@tryscope8731 Жыл бұрын
This video helped me to understand Compose better. Thanks alot!
@manofsteel61737 ай бұрын
thank you from the bottom of my heart
@Scamparelli Жыл бұрын
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! 😊
@Hobynist Жыл бұрын
Thank you. Jetpack Compose is a big mess of a tool for me, and this helped a lot to get my project started 👍👍
@muytecnoOk2 жыл бұрын
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!
@ДенисМуррмяуу3 жыл бұрын
Thank you from Russia!
@StevdzaSan3 жыл бұрын
Love to all my Russian followers 🇷🇺 🪆 🙏
@SapphireStudioart Жыл бұрын
Rhank you so much for your help!! I really learn a lot watching your videos! Thank you!
@StevdzaSan Жыл бұрын
I'm glad I can help! 🙏
@gunloverfromKE3 жыл бұрын
Best tutorials I've come across lately
@StevdzaSan3 жыл бұрын
Thanks buddy! 💜
@beckaksel8783 Жыл бұрын
Thank you!)
@ahmedeid5273 Жыл бұрын
My android Teacher ♥️
@nadeem.akhtar56 Жыл бұрын
Thank you. Excellent tutorial.
@shreyp3903 Жыл бұрын
Thanks a lot brother , it was incredibly helpful .
@mohdotnet Жыл бұрын
Thank you. Your video was well done and well explained. You should submit it to Google documentation.
@tellator8 ай бұрын
That was really very useful video. Thank you very much
@swiszcz93 Жыл бұрын
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
@rahathossainhimel71773 жыл бұрын
Thank You. This video is very much helpful for me. I am finding this kind of video. ❤️
@StevdzaSan3 жыл бұрын
I'm happy for that!
@marekmisik72783 жыл бұрын
that was exactly what I was looking for, great !
@mr.RAND55842 жыл бұрын
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.
@stanislav83139 ай бұрын
U R the best!!! Good luck!
@wandering.camera.guy.411 Жыл бұрын
Great video, thanks
@zacrobyte6 ай бұрын
That was quite helpful
@slayer51713 жыл бұрын
Amazing content as always Stefan, love it
@StevdzaSan3 жыл бұрын
Thanks buddy, I'm glad to hear that! 😊
@slayer51713 жыл бұрын
@@StevdzaSan Where to find source code for this video? I look at your github account but still couldn't find it.
@StevdzaSan3 жыл бұрын
@@slayer5171 I haven't uploaded.
@anudeepananth3 жыл бұрын
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
@AidenLin-sq4oh2 жыл бұрын
Thank you, it's helpful. 👍
@sinanarici99623 жыл бұрын
Thank you. Very informative tutorial
@StevdzaSan3 жыл бұрын
More to come, stay tuned! 👌
@بلتاباببلاى3 жыл бұрын
thank you nice work ❤️❤️❤️
@youprimeprime30462 жыл бұрын
Awesome m8 son
@nastenkaoo Жыл бұрын
helpful video, thanks
@digitalluxury20332 жыл бұрын
really professional cooool
@melkieg37533 жыл бұрын
My man thank you, great as usual.
@StevdzaSan3 жыл бұрын
Thanks buddy 🙏 💜
@cyrillemouret2 жыл бұрын
Great. Thank you so much.
@StevdzaSan2 жыл бұрын
You're welcome buddy.
@cgomes122 жыл бұрын
Thank you for the video. Super useful!
@StevdzaSan2 жыл бұрын
You're welcome buddy 🙌
@jhshin9253 жыл бұрын
Thanks a lot! Are you also planning to make video about rxAndroid?
@StevdzaSan3 жыл бұрын
I'm not usign RxJava.
@IzaraKuro3 жыл бұрын
thanks man, this is helpful
@StevdzaSan3 жыл бұрын
🙌👊
@ma.fouani2 жыл бұрын
how can we navigate between activities using navigation component and jetpack compose?
@be_like__prateek2 жыл бұрын
super explanation 🔥
@StevdzaSan2 жыл бұрын
Glad you like it buddy
@attamuhammad68 Жыл бұрын
thank you sir
@radbaver3 жыл бұрын
Thanks!! Amazing
@funnymoment91643 жыл бұрын
Thanks!
@OnlineEntrepreneurTools2 жыл бұрын
Thank you for this!
@blessonthomas48753 жыл бұрын
You are the best
@skarloti3 жыл бұрын
Thanks
@StevdzaSan3 жыл бұрын
Thank you! ❤🚀
@sadiquereyaz9 ай бұрын
great video
@sheharable2 жыл бұрын
Hi this video has been a lifesaver .
@StevdzaSan2 жыл бұрын
You don't need startActivity. Because with Jetpack Compose you'll gonna need only a single activity.
@sheharable2 жыл бұрын
@@StevdzaSan Yes I did it by your method finally ! Thanks so much
@this-is-bioman Жыл бұрын
Does this only apply to android or can the navigation components also be used for desktop apps?
@EugeneHeriniaina3 жыл бұрын
I used to use xml for navigation. So is this now the official way to use navigation for Jetpack compose? Thank you
@StevdzaSan3 жыл бұрын
Yes it is
@siarheisudakou44553 жыл бұрын
Very useful video! Are you planning to continue this series on Navigation in Jetpack Compose?
@StevdzaSan3 жыл бұрын
Just released the new video in this series, check it out on my channel. And yeah there will be more videos! 😊
@TRUTHF0RCE Жыл бұрын
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' } }
@smitdas102 Жыл бұрын
Bro Thank You So much! I legit spent hours trying to figure out what I did wrong.
@______yawn641911 ай бұрын
i keep getting the error message "Navigation graph has not been set for NavController" what could i be doing wrong?
@elviss9113 жыл бұрын
The best video
@StevdzaSan3 жыл бұрын
Damn right!😉
@MrA2A182 жыл бұрын
Awesome !!!!! Thank you :)
@StevdzaSan2 жыл бұрын
Glad to help! 😊
@AbdulWaheed-fb3it Жыл бұрын
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??
@danielonduru8571 Жыл бұрын
whare are the dependencies used?? and the gradle set up
@ronigraphicart3 жыл бұрын
Wonderful
@TRUTHF0RCE Жыл бұрын
Aleluia and Amen.
@danielmwinzi92232 жыл бұрын
will navigation using intent be a bad practice
@ojusuhani2 жыл бұрын
do you have a github repo where the final project is saved?
@pierremarais76692 жыл бұрын
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
@MrIMacro3 жыл бұрын
Nice, I noticed that you have shifted to Kotlin. Do you think it is a good idea or should I stick to Java?
@StevdzaSan3 жыл бұрын
Kotlin definitely 👌
@Sj-yf2jg Жыл бұрын
Kotlin + Jetpack Compose is the new future for Android development
@jouvyap2 жыл бұрын
Hi, how to pass data when we navigate to other screen?
@randomrainforest3 жыл бұрын
When compiling I got the error "java.lang.IllegalStateException: 2. expected value parameter count to be higher: rememberNavController( )"... Any ideas?
@arsoftcr10952 жыл бұрын
awesome
@chimaobicharles20323 жыл бұрын
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,
@StevdzaSan3 жыл бұрын
Will work on a new course and a new app. 🤜🤛
@DungPham-xg4dl2 жыл бұрын
How to prevent re-render of previous screen when navigating back - Jetpack Compose? Please, help me.
@Mel-bw2fn2 жыл бұрын
Nice
@Ankit-fl3wl Жыл бұрын
I have a problem of duplication class formed what I do ??
@zohaib13973 жыл бұрын
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?
@StevdzaSan3 жыл бұрын
Android team is working on that feature. 🚀
@vampire5592 жыл бұрын
java.lang.ClassCastException: java.util.LinkedHashSet cannot be cast to java.util.List I got exception while Using NavHost
@maksimfisenko88873 жыл бұрын
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") } }
@StevdzaSan3 жыл бұрын
You need to debug your app.
@harshpatel-bt5wr3 жыл бұрын
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?
@StevdzaSan3 жыл бұрын
launchSingleTop maybe if I understood correctly 🤔
@harshpatel-bt5wr3 жыл бұрын
@@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.
@sebastianbach53102 жыл бұрын
what if there will be LazyColumn?
@mikec42202 жыл бұрын
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.
@pyaesonehan197 ай бұрын
@priyamprakash12092 жыл бұрын
How can i get the source code
@denkling2 жыл бұрын
Udemy should make a difference for peaple from richer countries and the not so rich.
@StevdzaSan2 жыл бұрын
I can provide you a discount coupon code to help you out. Send me a message on Instagram.
@GyanshreeReddy9 ай бұрын
worked..
@commonsense10193 жыл бұрын
idk why i am not able to excess the route variable
@StevdzaSan3 жыл бұрын
Maybe because you didn't write val route: String, but just: route: String
@JorgeSotoRamos2 жыл бұрын
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
@jblacktube11 ай бұрын
I'm having trouble with closed captioning in this video
@aminelhag2 жыл бұрын
Thank to You Stevdza-san ( ノ ゚ー゚)ノ Keep Going
@LuckyFortunes-b3q13 күн бұрын
Companies keep switching programming languages just to upset programmers and make it difficult for no reason. I had an easy time 10 years ago making apps with Java on Android. Now it's becoming more of a complete mess. If they stick to one language, then people could get mastery over it. Relearning a new language does not serve any good purpose it leads to trashy code.
@pradeexsu3 жыл бұрын
Your videos are too helpful for me. You are too fast .
@StevdzaSan3 жыл бұрын
What exactly do you mean when you say fast? 🤔
@paulvickers80592 жыл бұрын
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?
@sujanshrestha33142 жыл бұрын
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.
@AndrewDChristie2 жыл бұрын
Thanks!
@StevdzaSan2 жыл бұрын
Thank you Andrew, I really appreciate that! 🎅😊
@aidenyang747 Жыл бұрын
how to use it with popUpToId? becuase popUpTo is deprecated