Why is it recommended to use only the default constructor to create a Fragment?

Поділитися
Вставка
  • Опубліковано 25 лис 2024

КОМЕНТАРІ • 17

  • @sagargarg9080
    @sagargarg9080 Рік тому +5

    Hi, I am following you since months and the type of blogs you have provided is just amazing which helped me alot in my current android role. And now this series ❤

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

      Happy to hear that! Keep Learning and Keep Growing.

  • @droid-aman
    @droid-aman Рік тому +1

    thnks sirJi maza aa gaya.. please make more enlightening videos like this

  • @michelemarchetti9824
    @michelemarchetti9824 2 місяці тому

    Great work, thank you!
    Would you have something about flows? or maybe live data?

    • @amitshekhar
      @amitshekhar  2 місяці тому

      outcomeschool.com/blog/flow-api-in-kotlin

  • @Vl-TV
    @Vl-TV Рік тому +1

    Good one

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

    Thanks a lot sir. but what if we need to pass a higher order function to fragment constructor?

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

      Most welcome, will post about it. Noted

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

    Thank you sir

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

    Hi Sir, I have a query, can't the android framework recreate the fragment with any parameterized constructor and then use the stored bundle?

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

    Bro a video on content providers while using room DB