presentation/src/main/res-features/camera/navigation/nav_camera.xml
<?xml version="1.0" encoding="utf-8"?>
<!--
~ Copyright (C) 2018 The Smash Ks Open Project
~
~ Licensed under the Apache License, Version 2.0 (the "License");
~ you may not use this file except in compliance with the License.
~ You may obtain a copy of the License at
~
~ http://www.apache.org/licenses/LICENSE-2.0
~
~ Unless required by applicable law or agreed to in writing, software
~ distributed under the License is distributed on an "AS IS" BASIS,
~ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
~ See the License for the specific language governing permissions and
~ limitations under the License.
-->
<navigation
android:id="@+id/nav_camera"
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"
app:startDestination="@+id/take_a_pic_fragment">
<fragment
android:id="@+id/take_a_pic_fragment"
android:name="smash.ks.com.oneshoot.features.photograph.TakeAPicFragment"
android:label="@string/app_name"
tools:layout="@layout/fragment_take_a_pic">
<action
android:id="@+id/action_takeAPicFragment_to_analyzeFragment"
app:destination="@+id/analyze_fragment"/>
<action
android:id="@+id/action_takeAPicFragment_to_uploadPicFragment"
app:destination="@+id/upload_pic_fragment"/>
</fragment>
<fragment
android:id="@+id/analyze_fragment"
android:name="smash.ks.com.oneshoot.features.photograph.AnalyzeFragment"
android:label="Analyze Photo"
tools:layout="@layout/fragment_analyze_pic"/>
<fragment
android:id="@+id/upload_pic_fragment"
android:name="smash.ks.com.oneshoot.features.photograph.UploadPicFragment"
android:label="Upload Photo"
tools:layout="@layout/fragment_upload_pic">
<action
android:id="@+id/action_uploadPicFragment_to_analyzeFragment"
app:destination="@id/analyze_fragment"/>
</fragment>
</navigation>