• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1<?xml version="1.0" encoding="utf-8"?>
2<!--
3  ~ Copyright (C) 2024 The Android Open Source Project
4  ~
5  ~ Licensed under the Apache License, Version 2.0 (the "License");
6  ~ you may not use this file except in compliance with the License.
7  ~ You may obtain a copy of the License at
8  ~
9  ~      http://www.apache.org/licenses/LICENSE-2.0
10  ~
11  ~ Unless required by applicable law or agreed to in writing, software
12  ~ distributed under the License is distributed on an "AS IS" BASIS,
13  ~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
14  ~ See the License for the specific language governing permissions and
15  ~ limitations under the License.
16  ~
17  ~
18  -->
19<navigation xmlns:android="http://schemas.android.com/apk/res/android"
20    xmlns:app="http://schemas.android.com/apk/res-auto"
21    android:id="@+id/entries_and_access_nav_graph"
22    app:startDestination="@id/entriesAndAccessFragment">
23
24    <include app:graph="@navigation/fitness_app_nav_graph"/>
25    <include app:graph="@navigation/medical_app_nav_graph"/>
26    <include app:graph="@navigation/combined_permissions_nav_graph"/>
27    <include app:graph="@navigation/connected_apps_nav_graph"/>
28    <include app:graph="@navigation/data_sources_nav_graph"/>
29
30    <fragment
31        android:id="@+id/entriesAndAccessFragment"
32        android:label="@string/data_title"
33        android:name="com.android.healthconnect.controller.data.entriesandaccess.EntriesAndAccessFragment">
34        <action
35            android:id="@+id/action_entriesAndAccessFragment_to_dataEntryDetailsFragment"
36            app:destination="@id/dataEntryDetailsFragment" />
37        <action
38            android:id="@+id/action_entriesAndAccessFragment_to_fitnessApp"
39            app:destination="@id/fitness_app_nav_graph" />
40        <action
41            android:id="@+id/action_entriesAndAccessFragment_to_medicalApp"
42            app:destination="@id/medical_app_nav_graph" />
43        <action
44            android:id="@+id/action_entriesAndAccessFragment_to_combinedPermissions"
45            app:destination="@id/combined_permissions_nav_graph" />
46        <action
47            android:id="@+id/action_entriesAndAccessFragment_to_rawFhirFragment"
48            app:destination="@id/rawFhirFragment" />
49        <action
50            android:id="@+id/action_entriesAndAccess_to_connectedApps"
51            app:destination="@id/connected_apps_nav_graph" />
52        <action
53            android:id="@+id/action_entriesAndAccess_to_setUnitsFragment"
54            app:destination="@id/setUnitsFragment"/>
55    </fragment>
56
57    <fragment
58        android:id="@+id/dataEntryDetailsFragment"
59        android:name="com.android.healthconnect.controller.entrydetails.DataEntryDetailsFragment"
60        android:label="@string/entry_details_title" />
61
62    <fragment
63        android:id="@+id/rawFhirFragment"
64        android:name="com.android.healthconnect.controller.data.rawfhir.RawFhirFragment"
65        android:label="@string/raw_fhir_title" />
66
67    <fragment
68        android:id="@+id/setUnitsFragment"
69        android:name="com.android.healthconnect.controller.dataentries.units.UnitsFragment"
70        android:label="@string/set_units_title"/>
71
72</navigation>