I am trying to set multiple fragment factories to my MainNavHostFragment. My problem is that my approach doesn\'t work and it only accepts the last set
fragment factories
MainNavHostFragment