Navigation with Voyager In Jetpack Compose

Поделиться
HTML-код
  • Опубликовано: 13 окт 2024

Комментарии • 31

  • @ahmed_guedmioui
    @ahmed_guedmioui  3 месяца назад

    Get my premium course to build industry-level Android apps & Ktor backends. 🚀
    ahmed-guedmioui.thinkific.com/courses/build-industry-level-apps-and-ktor-backends
    And take your skills to the next level and become ready for the Android industry ✅

  • @abdooamir1730
    @abdooamir1730 8 месяцев назад

    Meaningful content, keep it up brother

  • @theouahi
    @theouahi 8 месяцев назад

    Wonderful work 👏🏻👏🏻

  • @aditya3n
    @aditya3n 6 месяцев назад +1

    Let say i have 2 tabs (using tab-navigator), Home and Profile. When I'm on Profile screen and press back btn, the expectation is to be redirected back to Home. But currently the output is it's closing the app, instead of navigating to previous screen. Any solution for this?

  • @ShashankYadav-vg2tz
    @ShashankYadav-vg2tz 7 месяцев назад +1

    Hi i have question suppose i want to first go to a on boarding screen then to bottom tab screen so can i attach the tab navigator to a compose function or i have to use it in mainactivity?

  • @dleonardo3238
    @dleonardo3238 7 месяцев назад +1

    But doesn't passaging data from screen to screen when navigating go against the single source of truth principle? Isn't a shared viewmodel better to share data between different screens?

    • @ahmed_guedmioui
      @ahmed_guedmioui  7 месяцев назад

      I think you're getting wrong 😅 what goes against the single source of truth principle is using a shared viewModel if it leads to creating multiple instances of the same viewModel.
      Passing data to other screens does not violate that principle as long as you're getting the data from a single source (repository)
      Hope this makes sense

  • @lolive_ug10
    @lolive_ug10 8 месяцев назад

    Wow this is the video I was waiting for, now i have got it 😂🎉

  • @aliomar3322
    @aliomar3322 8 месяцев назад

    good work bro

  • @diskys8174
    @diskys8174 8 месяцев назад +1

    Nice work, thx❤

  • @felipefranco7444
    @felipefranco7444 6 месяцев назад

    Sir do you know how to get information from a coutine from an object that extends from Tab???

  • @imammihir
    @imammihir 8 месяцев назад

    Wow Its Really Cool❤️

  • @prabhattiwari3254
    @prabhattiwari3254 4 месяца назад

    does this library can be used in production apps

  • @AyoubEngno
    @AyoubEngno 7 месяцев назад

    Good job

  • @superrio1994
    @superrio1994 5 месяцев назад

    thank you, great stuff!

  • @FyUajYpUlM39
    @FyUajYpUlM39 5 месяцев назад

    Thanks!

  • @ahmedelesily977
    @ahmedelesily977 8 месяцев назад

    Fantastic

  • @katou9145
    @katou9145 7 месяцев назад

    How to close the bottom navigation if we are in Screen2, here is an example
    MainTab -> Screen 1 -> here you need to close the bottom navigation in Screen 2

  • @justmeagain9302
    @justmeagain9302 8 месяцев назад

    Can you use both voyager and the google navigation interchangeably in one project?

  • @Chirag-Redij38
    @Chirag-Redij38 8 месяцев назад

    Hey bro, I have a few queries. How to handle back press in Tab Navigator... Like If im on Tab B on Back I want to go to tab A & on back press close when on Tab A. Any possible way to do this?

    • @cbnewham5633
      @cbnewham5633 7 месяцев назад +1

      You wouldn't use a back button press to navigate between tabs. It doesn't make logical sense to do so.

    • @Chirag-Redij38
      @Chirag-Redij38 7 месяцев назад

      @@cbnewham5633 There are some cases where there is a need for such a functionality. I found a way to that. In tabNavigator using a backHandler would work perfectly and deactivate the handler when the tab is your starting tab.

  • @_hudeifa23
    @_hudeifa23 7 месяцев назад

    what if i want to exclude bottombar for some screens?

  • @malikshahbazzafar3602
    @malikshahbazzafar3602 8 месяцев назад

    Can we use this voyager library also in XML?

  • @mikelantzelo
    @mikelantzelo 7 месяцев назад

    Thank you!

  • @mohamedasraf4175
    @mohamedasraf4175 8 месяцев назад

    Thank you bro

  • @memoriesR-
    @memoriesR- 8 месяцев назад

    Can you send an object as an argument?

  • @Darkwolf9280
    @Darkwolf9280 6 месяцев назад

    Can anyone explain why my app crashes when i implement transitions?