Last active
March 10, 2019 06:10
-
-
Save fornewid/fe22a5c11fbc053c81c7ecdcd9e4df18 to your computer and use it in GitHub Desktop.
res/navigation/{graph_name}.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<navigation app:startDestination="@+id/first"> | |
<!-- Global Action --> | |
<action | |
android:id="@+id/action_to_second" | |
app:destination="@id/second" /> | |
<!-- Destination --> | |
<fragment | |
android:id="@+id/first" | |
android:name="생략.FirstFragment" /> | |
<fragment | |
android:id="@+id/second" | |
android:name="생략.SecondFragment" > | |
<!-- SafeArgs --> | |
<argument | |
android:name="data" | |
app:argType="String" /> | |
<!-- Local Action --> | |
<action | |
android:id="@+id/action_to_third" | |
app:destination="@id/third" /> | |
</fragment> | |
<activity | |
android:id="@+id/third" | |
android:name="생략.ThirdActivity" > | |
<argument | |
android:name="label" | |
app:argType="String" | |
app:nullable="true" /> | |
</activity> | |
</navigation> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment