Skip to content

Instantly share code, notes, and snippets.

@furkanaskin
Created August 19, 2019 10:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save furkanaskin/8856e65d631ce5e2be133c3b163903ba to your computer and use it in GitHub Desktop.
Save furkanaskin/8856e65d631ce5e2be133c3b163903ba to your computer and use it in GitHub Desktop.
<?xml version="1.0" encoding="utf-8"?>
<navigation xmlns:android="http://schemas.android.com/apk/res/android"
xmlns:app="http://schemas.android.com/apk/res-auto"
xmlns:tools="http://schemas.android.com/tools"
app:startDestination="@id/fragmentA">
<fragment
android:id="@+id/fragmentA"
android:name="com.kukapps.app.turbeapp.ui.main.splash.FragmentA"
android:label="fragment_a"
tools:layout="@layout/fragment_a">
</fragment>
<fragment
android:id="@+id/fragmentB"
android:name="com.kukapps.app.turbeapp.ui.main.splash.FragmentB"
android:label="fragment_b"
tools:layout="@layout/fragment_b">
<action
android:id="@+id/action_fragmentB_to_fragmentC"
app:destination="@id/fragmentC"
app:popUpTo="@+id/fragmentB"
app:popUpToInclusive="true" />
</fragment>
<fragment
android:id="@+id/fragmentC"
android:name="com.kukapps.app.turbeapp.ui.main.splash.FragmentC"
android:label="fragment_c"
tools:layout="@layout/fragment_c">
</fragment>
</navigation>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment