Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Fix loop bug
<fragment
android:id="@+id/firstFragment"
android:name="com.erikmedina.navigationcomponent.FirstFragment"
tools:layout="@layout/fragment_first">
<action
android:id="@+id/action_firstFragment_to_secondFragment"
app:destination="@id/secondFragment" />
<action
android:id="@+id/action_firstFragment_to_homeFragment"
app:destination="@id/homeFragment"
app:popUpTo="@id/homeFragment" />
</fragment>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment