<?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/navigation_home">

    <fragment
        android:id="@+id/navigation_home"
        android:name="com.example.cuida.ui.home.HomeFragment"
        android:label="@string/title_home"
        tools:layout="@layout/fragment_home">
        <action
            android:id="@+id/action_home_to_schedule_appointment"
            app:destination="@id/navigation_schedule_appointment" />
    </fragment>

    <fragment
        android:id="@+id/navigation_appointments"
        android:name="com.example.cuida.ui.appointments.AppointmentsFragment"
        android:label="@string/title_appointments"
        tools:layout="@layout/fragment_appointments">
        <action
            android:id="@+id/action_appointments_to_schedule"
            app:destination="@id/navigation_schedule_appointment" />
    </fragment>

    <fragment
        android:id="@+id/navigation_medication"
        android:name="com.example.cuida.ui.medication.MedicationFragment"
        android:label="@string/title_medication"
        tools:layout="@layout/fragment_medication" />

    <fragment
        android:id="@+id/navigation_sns24"
        android:name="com.example.cuida.ui.sns24.Sns24Fragment"
        android:label="@string/title_sns24"
        tools:layout="@layout/fragment_sns24" />
        
    <fragment
        android:id="@+id/navigation_profile"
        android:name="com.example.cuida.ui.profile.ProfileFragment"
        android:label="@string/title_profile"
        tools:layout="@layout/fragment_profile" />

    <fragment
        android:id="@+id/navigation_schedule_appointment"
        android:name="com.example.cuida.ui.schedule.ScheduleAppointmentFragment"
        android:label="Agendar Consulta"
        tools:layout="@layout/fragment_schedule_appointment" />

</navigation>
