<?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/add_shift_navigation"
    app:startDestination="@id/addShiftFragment">

    <fragment
        android:id="@+id/addShiftFragment"
        android:name="com.appttude.h_mal.days_left.ui.addShift.AddShiftFragment"
        android:label="Add Shift"
        tools:layout="@layout/fragment_add_shift">
        <action
            android:id="@+id/addShift_to_employersFragment_2"
            app:destination="@id/employersFragment" />
        <action
            android:id="@+id/addShift_to_tasksFragment"
            app:destination="@id/tasksFragment" />
    </fragment>
    <fragment
        android:id="@+id/employersFragment"
        android:name="com.appttude.h_mal.days_left.ui.addShift.EmployersFragment"
        android:label="fragment_employers"
        tools:layout="@layout/fragment_employers" >
        <action
            android:id="@+id/employers_to_addEmployerFragment"
            app:destination="@id/addEmployerFragment"
            app:popUpTo="@id/addShiftFragment"/>
    </fragment>
    <fragment
        android:id="@+id/addEmployerFragment"
        android:name="com.appttude.h_mal.days_left.ui.addShift.AddEmployerFragment"
        android:label="AddEmployerFragment" />
    <fragment
        android:id="@+id/addTaskFragment"
        android:name="com.appttude.h_mal.days_left.ui.addShift.AddTaskFragment"
        android:label="AddTaskFragment" />
    <fragment
        android:id="@+id/tasksFragment"
        android:name="com.appttude.h_mal.days_left.ui.addShift.TasksFragment"
        android:label="fragment_tasks"
        tools:layout="@layout/fragment_tasks" >
        <action
            android:id="@+id/action_tasksFragment_to_addTaskFragment"
            app:destination="@id/addTaskFragment" />
    </fragment>

</navigation>