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