Issue with Navigation Component Duplicate NavArgs
问题 I have a fragment: class SomeFragment { private val args by navArgs<SomeFragmentArgs>() } this fragment is used in two navigation graph: first_nav.xml .... <fragment android:id="@+id/initialFragment" android:name="com.example.InitialFragment" android:label="Initial Fragment"> <action android:id="@+id/action_to_some_fragment" app:destination="@id/someFragment" /> </fragment> <fragment android:id="@+id/someFragment" android:name="com.example.SomeFragment" android:label="Some Label"> <argument