Open PuginisPerkunas opened 3 years ago
In single activity app and single androidx.fragment.app.FragmentContainerView we can use custom NavHostFragment with custom FragmentFactory, just by setting
androidx.fragment.app.FragmentContainerView
NavHostFragment
FragmentFactory
<androidx.fragment.app.FragmentContainerView android:id="@+id/intro_nav_container" android:name="com.package.CustomNavHostFragment" .... />
But is this possible by using NavigationExtensions class? If yes, how?
NavigationExtensions
Have look at my sample repo here that is a proper single activity app and only uses nested Fragments
In single activity app and single
androidx.fragment.app.FragmentContainerView
we can use customNavHostFragment
with customFragmentFactory
, just by settingBut is this possible by using
NavigationExtensions
class? If yes, how?