Skip to content

Commit

Permalink
Show destinations between fragments with arrows
Browse files Browse the repository at this point in the history
  • Loading branch information
Yağmur Erdoğan committed Aug 18, 2021
1 parent 56534d8 commit 6a60f1d
Showing 1 changed file with 10 additions and 2 deletions.
12 changes: 10 additions & 2 deletions NavigationComponent/app/src/main/res/navigation/my_nav.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,18 @@
android:id="@+id/firstFragment"
android:name="com.hepsiburada.navigationcomponent.FirstFragment"
android:label="fragment_first"
tools:layout="@layout/fragment_first" />
tools:layout="@layout/fragment_first" >
<action
android:id="@+id/action_firstFragment_to_secondFragment"
app:destination="@id/secondFragment" />
</fragment>
<fragment
android:id="@+id/secondFragment"
android:name="com.hepsiburada.navigationcomponent.SecondFragment"
android:label="fragment_second"
tools:layout="@layout/fragment_second" />
tools:layout="@layout/fragment_second" >
<action
android:id="@+id/action_secondFragment_to_firstFragment"
app:destination="@id/firstFragment" />
</fragment>
</navigation>

0 comments on commit 6a60f1d

Please sign in to comment.