Since the navigation files are in app module, feature modules won't have access to the Args file. Is there any workaround for that?
example: if I have a fragment which accepts email and password like so
<fragment
android:id="@+id/navigation_sample"
android:name="SampleFragment">
<argument
android:name="email"
app:argType="string" />
<argument
android:name="password"
app:argType="string" />
</fragment>
I would have a SampleFragmentArgs generated which could be used to navigate
findnavController.navigate(R.id.navigation_sample, SampleFragmentArgs(email, password).toBundle)
But I can use this only from app module not in a feature module