NavGraph
This commit is contained in:
parent
70d12bbc59
commit
4cc80f9857
|
@ -0,0 +1,18 @@
|
|||
<?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/feature_common_child_child_navigation"
|
||||
app:startDestination="@id/commonHomeFragmentChildChild">
|
||||
|
||||
<fragment
|
||||
android:id="@+id/commonHomeFragmentChildChild"
|
||||
android:name="one.nem.kidshift.feature.common.CommonHomeFragment"
|
||||
android:label="fragment_common_home"
|
||||
tools:layout="@layout/fragment_common_home" >
|
||||
<argument
|
||||
android:name="isChildMode"
|
||||
app:argType="boolean"
|
||||
android:defaultValue="true" />
|
||||
</fragment>
|
||||
</navigation>
|
|
@ -0,0 +1,13 @@
|
|||
<?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/feature_common_parent_child_navigation"
|
||||
app:startDestination="@id/commonHomeFragmentParentChild">
|
||||
|
||||
<fragment
|
||||
android:id="@+id/commonHomeFragmentParentChild"
|
||||
android:name="one.nem.kidshift.feature.common.CommonHomeFragment"
|
||||
android:label="fragment_common_home"
|
||||
tools:layout="@layout/fragment_common_home" />
|
||||
</navigation>
|
|
@ -3,10 +3,10 @@
|
|||
xmlns:app="http://schemas.android.com/apk/res-auto"
|
||||
xmlns:tools="http://schemas.android.com/tools"
|
||||
android:id="@+id/feature_common_navigation"
|
||||
app:startDestination="@id/commonHomeFragment">
|
||||
app:startDestination="@id/commonHomeFragmentParentParent">
|
||||
|
||||
<fragment
|
||||
android:id="@+id/commonHomeFragment"
|
||||
android:id="@+id/commonHomeFragmentParentParent"
|
||||
android:name="one.nem.kidshift.feature.common.CommonHomeFragment"
|
||||
android:label="fragment_common_home"
|
||||
tools:layout="@layout/fragment_common_home" />
|
Loading…
Reference in New Issue
Block a user