Skip to content

Instantly share code, notes, and snippets.

@arsalanfakhar
Created October 19, 2022 11:19
Show Gist options
  • Save arsalanfakhar/d77235a937cc50b81912b7a1db9b3149 to your computer and use it in GitHub Desktop.
Save arsalanfakhar/d77235a937cc50b81912b7a1db9b3149 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"
android:id="@+id/mobile_navigation"
app:startDestination="@id/AFragment">
<fragment
android:id="@+id/AFragment"
android:name="com.example.samplemediumapp.ui.a_fragment.AFragment"
android:label="AFragment"
tools:layout="@layout/fragment_a">
<action
android:id="@+id/action_AFragment_to_greetingDialog"
app:destination="@id/greetingDialog" />
</fragment>
<dialog
android:id="@+id/greetingDialog"
tools:layout="@layout/dialog_greeting"
android:name="com.example.samplemediumapp.ui.a_dialog.GreetingDialog"
android:label="GreetingDialog" />
</navigation>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment