КОМЕНТАРІ •

  • @StevdzaSan
    @StevdzaSan 3 роки тому +40

    Be sure to add dependency: 🙃⬇
    implementation "androidx.navigation:navigation-compose:2.4.0-alpha10"

    • @rahmataulia
      @rahmataulia 3 роки тому

      still alpha? is it ready for production release?

    • @StevdzaSan
      @StevdzaSan 3 роки тому +1

      @@rahmataulia Yeah it is.

    • @Sj-yf2jg
      @Sj-yf2jg Рік тому

      Source code link please?

  • @deairelle
    @deairelle Рік тому +10

    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!

  • @leonorjohnberlinv.5750
    @leonorjohnberlinv.5750 9 місяців тому +2

    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

    • @StevdzaSan
      @StevdzaSan 9 місяців тому +2

      Thanks! I'm really happy that I can help 😊

  • @AbolfazlKalemati
    @AbolfazlKalemati Місяць тому

    To learn something, its so important to understand the key concepts at first and this video helps to achieve them about Navigation Compose.

  • @tryscope8731
    @tryscope8731 Рік тому

    This video helped me to understand Compose better. Thanks alot!

  • @emirsehic4728
    @emirsehic4728 2 роки тому +1

    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!

  • @taimoorghafar1868
    @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.

  • @manofsteel6173
    @manofsteel6173 6 місяців тому

    thank you from the bottom of my heart

  • @AmiraMohamed-jf5tl
    @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.

  • @asutoshpanda804
    @asutoshpanda804 Рік тому

    Easiest explanation and practical way to integrate it, the same architecture can be used in live projects.

  • @Scamparelli
    @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! 😊

  • @tatavarthitarun2739
    @tatavarthitarun2739 Рік тому +1

    How did I miss this gold this long

  • @SapphireStudioart
    @SapphireStudioart Рік тому +1

    Rhank you so much for your help!! I really learn a lot watching your videos! Thank you!

  • @siarheisudakou4455
    @siarheisudakou4455 3 роки тому +4

    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!

    • @StevdzaSan
      @StevdzaSan 3 роки тому +1

      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
      @abovemediocrity245 Рік тому

      Why does Android make it so difficult to do a simple navigation within the app?

  • @muytecnoOk
    @muytecnoOk 2 роки тому +4

    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!

  • @gunloverfromKE
    @gunloverfromKE 3 роки тому

    Best tutorials I've come across lately

  • @Hobynist
    @Hobynist 11 місяців тому

    Thank you. Jetpack Compose is a big mess of a tool for me, and this helped a lot to get my project started 👍👍

  • @tellator
    @tellator 7 місяців тому

    That was really very useful video. Thank you very much

  • @shreyp3903
    @shreyp3903 Рік тому

    Thanks a lot brother , it was incredibly helpful .

  • @nadeem.akhtar56
    @nadeem.akhtar56 Рік тому

    Thank you. Excellent tutorial.

  • @marekmisik7278
    @marekmisik7278 2 роки тому +1

    that was exactly what I was looking for, great !

  • @aniruddha7581
    @aniruddha7581 8 місяців тому

    Very straightforward and concise tutorial. Thanks a lot! Also you might want to slow down the coding a bit since some lines are skipped.

  • @rahathossainhimel7177
    @rahathossainhimel7177 3 роки тому +1

    Thank You. This video is very much helpful for me. I am finding this kind of video. ❤️

  • @ahmedeid5273
    @ahmedeid5273 Рік тому

    My android Teacher ♥️

  • @ДенисМуррмяуу
    @ДенисМуррмяуу 2 роки тому +1

    Thank you from Russia!

    • @StevdzaSan
      @StevdzaSan 2 роки тому

      Love to all my Russian followers 🇷🇺 🪆 🙏

  • @beckaksel8783
    @beckaksel8783 Рік тому +1

    Thank you!)

  • @stanislav8313
    @stanislav8313 8 місяців тому

    U R the best!!! Good luck!

  • @wandering.camera.guy.411
    @wandering.camera.guy.411 Рік тому

    Great video, thanks

  • @zacrobyte
    @zacrobyte 5 місяців тому

    That was quite helpful

  • @slayer5171
    @slayer5171 3 роки тому +1

    Amazing content as always Stefan, love it

    • @StevdzaSan
      @StevdzaSan 3 роки тому

      Thanks buddy, I'm glad to hear that! 😊

    • @slayer5171
      @slayer5171 3 роки тому

      @@StevdzaSan Where to find source code for this video? I look at your github account but still couldn't find it.

    • @StevdzaSan
      @StevdzaSan 3 роки тому

      @@slayer5171 I haven't uploaded.

  • @AidenLin-sq4oh
    @AidenLin-sq4oh 2 роки тому

    Thank you, it's helpful. 👍

  • @mohdotnet
    @mohdotnet Рік тому

    Thank you. Your video was well done and well explained.
    You should submit it to Google documentation.

  • @nastenkaoo
    @nastenkaoo Рік тому

    helpful video, thanks

  • @cyrillemouret
    @cyrillemouret 2 роки тому

    Great. Thank you so much.

  • @cgomes12
    @cgomes12 2 роки тому

    Thank you for the video. Super useful!

    • @StevdzaSan
      @StevdzaSan 2 роки тому

      You're welcome buddy 🙌

  • @melkieg3753
    @melkieg3753 3 роки тому

    My man thank you, great as usual.

    • @StevdzaSan
      @StevdzaSan 3 роки тому +1

      Thanks buddy 🙏 💜

  • @swiszcz93
    @swiszcz93 Рік тому +1

    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

  • @sinanarici9962
    @sinanarici9962 3 роки тому

    Thank you. Very informative tutorial

    • @StevdzaSan
      @StevdzaSan 3 роки тому +1

      More to come, stay tuned! 👌

  • @بلتاباببلاى
    @بلتاباببلاى 3 роки тому +1

    thank you nice work ❤️❤️❤️

  • @AndrewDChristie
    @AndrewDChristie 2 роки тому +1

    Thanks!

    • @StevdzaSan
      @StevdzaSan 2 роки тому +1

      Thank you Andrew, I really appreciate that! 🎅😊

  • @IzaraKuro
    @IzaraKuro 3 роки тому

    thanks man, this is helpful

  • @digitalluxury2033
    @digitalluxury2033 2 роки тому

    really professional cooool

  • @OnlineEntrepreneurTools
    @OnlineEntrepreneurTools Рік тому +1

    Thank you for this!

  • @anudeepananth
    @anudeepananth 3 роки тому

    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

  • @radbaver
    @radbaver 3 роки тому

    Thanks!! Amazing

  • @be_like__prateek
    @be_like__prateek 2 роки тому

    super explanation 🔥

    • @StevdzaSan
      @StevdzaSan 2 роки тому

      Glad you like it buddy

  • @youprimeprime3046
    @youprimeprime3046 2 роки тому +1

    Awesome m8 son

  • @mr.RAND5584
    @mr.RAND5584 2 роки тому

    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.

  • @AbdulWaheed-fb3it
    @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??

  • @attamuhammad68
    @attamuhammad68 11 місяців тому

    thank you sir

  • @ma.fouani
    @ma.fouani 2 роки тому

    how can we navigate between activities using navigation component and jetpack compose?

  • @this-is-bioman
    @this-is-bioman Рік тому

    Does this only apply to android or can the navigation components also be used for desktop apps?

  • @jhshin925
    @jhshin925 3 роки тому +1

    Thanks a lot! Are you also planning to make video about rxAndroid?

  • @EugeneHeriniaina
    @EugeneHeriniaina 3 роки тому

    I used to use xml for navigation.
    So is this now the official way to use navigation for Jetpack compose?
    Thank you

  • @blessonthomas4875
    @blessonthomas4875 2 роки тому

    You are the best

  • @sadiquereyaz
    @sadiquereyaz 8 місяців тому

    great video

  • @randomrainforest
    @randomrainforest 2 роки тому

    When compiling I got the error "java.lang.IllegalStateException: 2. expected value parameter count to be higher: rememberNavController(
    )"... Any ideas?

  • @MrA2A18
    @MrA2A18 2 роки тому

    Awesome !!!!! Thank you :)

  • @sheharable
    @sheharable 2 роки тому

    Hi this video has been a lifesaver .

    • @StevdzaSan
      @StevdzaSan 2 роки тому +2

      You don't need startActivity. Because with Jetpack Compose you'll gonna need only a single activity.

    • @sheharable
      @sheharable 2 роки тому

      @@StevdzaSan Yes I did it by your method finally ! Thanks so much

  • @pierremarais7669
    @pierremarais7669 2 роки тому

    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

  • @skarloti
    @skarloti 3 роки тому +1

    Thanks

  • @elviss911
    @elviss911 3 роки тому

    The best video

  • @danielmwinzi9223
    @danielmwinzi9223 2 роки тому

    will navigation using intent be a bad practice

  • @danielonduru8571
    @danielonduru8571 Рік тому

    whare are the dependencies used?? and the gradle set up

  • @ojusuhani
    @ojusuhani 2 роки тому

    do you have a github repo where the final project is saved?

  • @maksimfisenko8887
    @maksimfisenko8887 2 роки тому

    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")
    }
    }

    • @StevdzaSan
      @StevdzaSan 2 роки тому +1

      You need to debug your app.

  • @MrIMacro
    @MrIMacro 3 роки тому

    Nice, I noticed that you have shifted to Kotlin. Do you think it is a good idea or should I stick to Java?

    • @StevdzaSan
      @StevdzaSan 3 роки тому +2

      Kotlin definitely 👌

    • @Sj-yf2jg
      @Sj-yf2jg Рік тому +1

      Kotlin + Jetpack Compose is the new future for Android development

  • @TRUTHF0RCE
    @TRUTHF0RCE Рік тому

    Aleluia and Amen.

  • @chimaobicharles2032
    @chimaobicharles2032 3 роки тому

    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,

    • @StevdzaSan
      @StevdzaSan 3 роки тому

      Will work on a new course and a new app. 🤜🤛

  • @vampire559
    @vampire559 Рік тому

    java.lang.ClassCastException: java.util.LinkedHashSet cannot be cast to java.util.List I got exception while Using NavHost

  • @harshpatel-bt5wr
    @harshpatel-bt5wr 3 роки тому

    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
      @StevdzaSan 3 роки тому

      launchSingleTop maybe if I understood correctly 🤔

    • @harshpatel-bt5wr
      @harshpatel-bt5wr 3 роки тому

      @@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.

  • @DungPham-xg4dl
    @DungPham-xg4dl 2 роки тому

    How to prevent re-render of previous screen when navigating back - Jetpack Compose? Please, help me.

  • @jouvyap
    @jouvyap 2 роки тому

    Hi, how to pass data when we navigate to other screen?

  • @TRUTHF0RCE
    @TRUTHF0RCE Рік тому +1

    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
      @smitdas102 Рік тому

      Bro Thank You So much! I legit spent hours trying to figure out what I did wrong.

    • @______yawn6419
      @______yawn6419 9 місяців тому

      i keep getting the error message "Navigation graph has not been set for NavController" what could i be doing wrong?

  • @Ankit-fl3wl
    @Ankit-fl3wl Рік тому

    I have a problem of duplication class formed what I do ??

  • @ronigraphicart
    @ronigraphicart 3 роки тому

    Wonderful

  • @siarheisudakou4455
    @siarheisudakou4455 3 роки тому

    Very useful video! Are you planning to continue this series on Navigation in Jetpack Compose?

    • @StevdzaSan
      @StevdzaSan 3 роки тому +2

      Just released the new video in this series, check it out on my channel. And yeah there will be more videos! 😊

  • @arsoftcr1095
    @arsoftcr1095 2 роки тому

    awesome

  • @Mel-bw2fn
    @Mel-bw2fn 2 роки тому

    Nice

  • @zohaib1397
    @zohaib1397 3 роки тому

    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?

    • @StevdzaSan
      @StevdzaSan 3 роки тому

      Android team is working on that feature. 🚀

  • @priyamprakash1209
    @priyamprakash1209 2 роки тому

    How can i get the source code

  • @sebastianbach5310
    @sebastianbach5310 2 роки тому

    what if there will be LazyColumn?

    • @mikec4220
      @mikec4220 2 роки тому

      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.

  • @JorgeSotoRamos
    @JorgeSotoRamos 2 роки тому

    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

  • @aminelhag
    @aminelhag 2 роки тому

    Thank to You Stevdza-san ( ノ ゚ー゚)ノ Keep Going

  • @commonsense1019
    @commonsense1019 3 роки тому

    idk why i am not able to excess the route variable

    • @StevdzaSan
      @StevdzaSan 3 роки тому

      Maybe because you didn't write val route: String, but just: route: String

  • @jblacktube
    @jblacktube 10 місяців тому

    I'm having trouble with closed captioning in this video

  • @pyaesonehan19
    @pyaesonehan19 5 місяців тому

  • @GyanshreeReddy
    @GyanshreeReddy 8 місяців тому

    worked..

  • @denkling
    @denkling 2 роки тому

    Udemy should make a difference for peaple from richer countries and the not so rich.

    • @StevdzaSan
      @StevdzaSan 2 роки тому +1

      I can provide you a discount coupon code to help you out. Send me a message on Instagram.

  • @pradeexsu
    @pradeexsu 3 роки тому

    Your videos are too helpful for me. You are too fast .

    • @StevdzaSan
      @StevdzaSan 3 роки тому

      What exactly do you mean when you say fast? 🤔

  • @paulvickers8059
    @paulvickers8059 2 роки тому

    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?

  • @sujanshrestha3314
    @sujanshrestha3314 Рік тому

    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.

  • @funnymoment9164
    @funnymoment9164 2 роки тому

    Thanks!

  • @aidenyang747
    @aidenyang747 Рік тому

    how to use it with popUpToId? becuase popUpTo is deprecated