Skip to content

Instantly share code, notes, and snippets.

@itsamirrezah
Created July 14, 2019 21:06
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 itsamirrezah/cf3c9a68ac4666e99e0f7e2ce273c350 to your computer and use it in GitHub Desktop.
Save itsamirrezah/cf3c9a68ac4666e99e0f7e2ce273c350 to your computer and use it in GitHub Desktop.
SimpleNavigationLibrary
<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"
android:id="@+id/navigation_graph"
app:startDestination="@id/nav_fragA">
<fragment
android:id="@+id/nav_fragA"
android:name="edu.itsamirrezah.navigationcomponent.FragA"
android:label="fragment_frag_a"
tools:layout="@layout/fragment_frag_a" />
<fragment
android:id="@+id/nav_fragB"
android:name="edu.itsamirrezah.navigationcomponent.FragB"
android:label="fragment_frag_b"
tools:layout="@layout/fragment_frag_b" />
</navigation>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment