74 lines
3.1 KiB
XML
74 lines
3.1 KiB
XML
<?xml version="1.0" encoding="utf-8"?>
|
|
<!--
|
|
~ // Copyright (c) 2024 ShanMukha Innovations Pvt. Ltd. All rights reserved.
|
|
~ // Notice: All information contained herein is, and remains
|
|
~ // the property of ShanMukha Innovations Pvt. Ltd. and its suppliers,
|
|
~ // if any. The intellectual and technical concepts contained
|
|
~ // herein are proprietary to ShanMukha Innovations Pvt. Ltd.
|
|
~ // and its suppliers and may be covered by Indian and Foreign Patents,
|
|
~ // patents in process, and are protected by trade secret or copyright law.
|
|
~ // Dissemination of this information or reproduction of this material
|
|
~ // is strictly forbidden unless prior written permission is obtained
|
|
~ // from ShanMukha Innovations Pvt. Ltd.
|
|
-->
|
|
|
|
<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/loginFragment">
|
|
|
|
<fragment
|
|
android:id="@+id/nav_home"
|
|
android:name="com.example.hpostesting.presentation.main_base.HomeFragment"
|
|
android:label="@string/menu_home"
|
|
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" />
|
|
<action
|
|
android:id="@+id/action_nav_home_to_loginFragment"
|
|
app:destination="@id/loginFragment"
|
|
app:popUpToInclusive="true"/>
|
|
</fragment>
|
|
|
|
<fragment
|
|
android:id="@+id/nav_profile"
|
|
android:name="com.example.hpostesting.presentation.main_base.PanelFragment"
|
|
android:label="@string/profile"
|
|
tools:layout="@layout/fragment_gallery" />
|
|
|
|
<fragment
|
|
android:id="@+id/nav_settings"
|
|
android:name="com.example.hpostesting.presentation.main_base.SlideshowFragment"
|
|
android:label="@string/action_settings"
|
|
tools:layout="@layout/fragment_slideshow" />
|
|
<fragment
|
|
android:id="@+id/nav_about"
|
|
android:name="com.example.hpostesting.presentation.main_base.AboutFragment"
|
|
android:label="@string/action_about"
|
|
tools:layout="@layout/fragment_about" />
|
|
<fragment
|
|
android:id="@+id/nav_activity"
|
|
android:name="com.example.hpostesting.presentation.main_base.ActivitiesFragment"
|
|
android:label="@string/action_activity"
|
|
tools:layout="@layout/fragment_activities" />
|
|
<activity
|
|
android:id="@+id/mainActivity"
|
|
android:name="com.example.hpostesting.presentation.MainActivity"
|
|
android:label="MainActivity" />
|
|
<fragment
|
|
android:id="@+id/loginFragment"
|
|
android:name="com.example.hpostesting.presentation.main_base.ui.LoginFragment"
|
|
android:label="@string/login"
|
|
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>
|
|
|
|
</navigation> |