Pass data between destinations by Navigation Component

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

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

  • @shivagiri7406
    @shivagiri7406 2 года назад +5

    A lady's voice in a tech tutorial. So relaxing to hear. Thank you

    • @AndroidGeekCo
      @AndroidGeekCo  2 года назад

      You're welcome 😊 thanks for your feedback 😊

    • @nelsoncamacaro1804
      @nelsoncamacaro1804 Год назад

      I Agree, is it so relaxing or sexy or both I don't know, but it is great

  • @sahinnmaral
    @sahinnmaral Год назад +1

    I've been trying to fix missing direction classes for 1 hour and I found your video. This video fixed my issue. Thanks for your help.

    • @AndroidGeekCo
      @AndroidGeekCo  Год назад

      happy to hear that and Glad it helped! ✨😊

  • @ibrahimylmaz8378
    @ibrahimylmaz8378 2 года назад +1

    you sound very young and you did great man! perfect tutorial, thank you! good luck with everything!

    • @AndroidGeekCo
      @AndroidGeekCo  2 года назад

      Thanks, you too! 🤩
      just one thing 😊 I am lady not man 😊

    • @ibrahimylmaz8378
      @ibrahimylmaz8378 2 года назад +1

      @@AndroidGeekCo oh sorry my bad lady. cheers

    • @AndroidGeekCo
      @AndroidGeekCo  2 года назад +1

      no worries , it's ok 😊

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

    Congratulations! Very good explanations! Thanks for teaching.

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

    thank you. the trick with rebuilding project helped a lot!

  • @simonanikolova1719
    @simonanikolova1719 2 года назад +1

    Thank you for this video ! Subscribed ! I can't wait to see more from you !

  • @streetozvuchkatj
    @streetozvuchkatj 2 года назад +3

    Amazing video, keep up the wonderful work 🙌🙌

  • @iraklideka94
    @iraklideka94 2 года назад +2

    Very helpful video, please keep posting 👏👏

    • @AndroidGeekCo
      @AndroidGeekCo  2 года назад

      Glad to hear that 😊, Sure 👍✨

  • @ДмитроПриймак-ч3ц
    @ДмитроПриймак-ч3ц Год назад +2

    thank you very much, you helped me a lot! even better than StackOverflow, keep it up👍

  • @Alherion
    @Alherion 2 года назад +2

    Thanks a lot, you saved my life :)!

  • @ertiodesanluci1056
    @ertiodesanluci1056 23 дня назад

    Thankss!!

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

    Yes!

  • @Klimpton
    @Klimpton 2 года назад

    Ty for this video, how to use it with bottom navigation view

  • @Market_Twits
    @Market_Twits 2 года назад +2

    Thanks men

    • @AndroidGeekCo
      @AndroidGeekCo  2 года назад

      You're welcome!😊 ( I'm lady 🤩)

  • @AliZamaniCode
    @AliZamaniCode 2 года назад +2

    nice Thanks

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

    No matching variant of androidx.navigation:navigation-safe-args-gradle-plugin:2.7.7 was found. The consumer was configured to find a runtime of a library compatible with Java 11, packaged as a jar, and its dependencies declared externally, as well as attribute 'org.gradle.plugin.api-version' with value '7.4' but:
    My project is giving this error during sync

  • @ahedalsalmi4659
    @ahedalsalmi4659 Год назад +1

    thank you so much, it helped!!

    • @AndroidGeekCo
      @AndroidGeekCo  Год назад

      You're very welcome 😊🙏🙏 glad to hear it's useful 😊

  • @rabiayousaf6992
    @rabiayousaf6992 2 года назад +1

    how to receive a bundle usring this im trying to get bundle in Destination fragment
    this is my code in sending fragment
    mNavController.navigate(R.id.action_patientMenuSearchDoctor_to_activityPatientViewDoctorProfile, bundle, null) im trying to receive it in destination (data class )

    • @AndroidGeekCo
      @AndroidGeekCo  2 года назад

      with this code you can send your Bundle into another fragment :
      val secondFragment =SecondFragment()
      val bundle = Bundle()
      bundle.putInt("BUNDLE_ID", noteEntity.id)
      noteFragment.arguments = bundle
      and in Second activity you can get your Bundle like this :
      noteId = arguments?.getInt(BUNDLE_ID) ?: 0
      this code just example , and i just wanted to give you concept of passing bundle , it should work like this😊