Files
hpos/app/src/main/res/navigation/dashboard_navigation.xml

51 lines
2.0 KiB
XML
Raw Normal View History

<?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"
2023-07-11 16:56:26 +05:30
app:startDestination="@+id/loginFragment">
<fragment
android:id="@+id/nav_home"
2023-06-28 12:41:18 +05:30
android:name="com.example.hpostesting.presentation.dashboard.HomeFragment"
android:label="@string/menu_home"
2023-06-08 19:27:34 +05:30
app:popUpToInclusive="true"
app:popUpTo="@id/nav_home"
tools:layout="@layout/fragment_home" >
<action
android:id="@+id/action_nav_home_to_mainActivity"
app:destination="@id/mainActivity" />
2023-07-11 16:56:26 +05:30
<action
android:id="@+id/action_nav_home_to_loginFragment"
app:destination="@id/loginFragment"
app:popUpToInclusive="true"/>
</fragment>
<fragment
android:id="@+id/nav_profile"
2023-06-28 12:41:18 +05:30
android:name="com.example.hpostesting.presentation.dashboard.GalleryFragment"
android:label="@string/profile"
tools:layout="@layout/fragment_gallery" />
<fragment
android:id="@+id/nav_settings"
2023-06-28 12:41:18 +05:30
android:name="com.example.hpostesting.presentation.dashboard.SlideshowFragment"
android:label="@string/action_settings"
tools:layout="@layout/fragment_slideshow" />
<activity
android:id="@+id/mainActivity"
2023-06-28 12:41:18 +05:30
android:name="com.example.hpostesting.presentation.MainActivity"
android:label="MainActivity" />
2023-07-07 16:07:58 +05:30
<fragment
android:id="@+id/loginFragment"
android:name="com.example.hpostesting.presentation.dashboard.ui.LoginFragment"
android:label="fragment_login"
2023-07-07 17:01:02 +05:30
tools:layout="@layout/fragment_login" >
<action
android:id="@+id/action_loginFragment_to_homeFragment"
app:destination="@id/nav_home"
app:popUpTo="@id/mobile_navigation"
app:popUpToInclusive="true"/>
</fragment>
2023-08-04 13:41:51 +05:30
</navigation>