Advertisement
elegance_SEA

main_nav_graph

Mar 9th, 2021
100
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
XML 1.54 KB | None | 0 0
  1. <?xml version="1.0" encoding="utf-8"?>
  2. <navigation xmlns:android="http://schemas.android.com/apk/res/android"
  3.    xmlns:app="http://schemas.android.com/apk/res-auto"
  4.    xmlns:tools="http://schemas.android.com/tools"
  5.    android:id="@+id/main_nav_graph"
  6.    app:startDestination="@id/splashFragment">
  7.     <fragment
  8.        android:id="@+id/signInFragment"
  9.        android:name="app.netlify.accessdeniedgc.classko.ui.signin.SignInFragment"
  10.        android:label="fragment_sign_in"
  11.        tools:layout="@layout/fragment_sign_in" >
  12.         <action
  13.            android:id="@+id/action_signInFragment_to_classActivity"
  14.            app:destination="@id/classActivity"
  15.            app:launchSingleTop="true"
  16.            app:popUpTo="@id/splashFragment"
  17.            app:popUpToInclusive="true" />
  18.     </fragment>
  19.     <fragment
  20.        android:id="@+id/splashFragment"
  21.        android:name="app.netlify.accessdeniedgc.classko.ui.splash.SplashFragment"
  22.        android:label="fragment_splash"
  23.        tools:layout="@layout/fragment_splash" >
  24.         <action
  25.            android:id="@+id/action_splashFragment_to_signInFragment"
  26.            app:destination="@id/signInFragment"
  27.            app:launchSingleTop="true"
  28.            app:popUpTo="@id/splashFragment"
  29.            app:popUpToInclusive="true" />
  30.     </fragment>
  31.     <activity
  32.        android:id="@+id/classActivity"
  33.        android:name="app.netlify.accessdeniedgc.classko.ui.class.ClassActivity"
  34.        android:label="activity_class"
  35.        tools:layout="@layout/activity_class" />
  36. </navigation>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement