forked from boostcampwm-2022/android04-BEEP
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issues boostcampwm-2022#287 feat: 각 모듈별 nav_graph 정의
- Loading branch information
Showing
14 changed files
with
82 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -3,4 +3,5 @@ | |
xmlns:app="http://schemas.android.com/apk/res-auto" | ||
android:id="@+id/main_graph"> | ||
|
||
|
||
</navigation> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
5 changes: 5 additions & 0 deletions
5
...ifticonlist/src/main/java/com/lighthouse/features/gifticonlist/ui/GifticonListFragment.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.lighthouse.features.gifticonlist.ui | ||
|
||
import androidx.fragment.app.Fragment | ||
|
||
class GifticonListFragment : Fragment() |
10 changes: 10 additions & 0 deletions
10
features/ui-gifticonlist/src/main/res/navigation/gifticon_list_nav_graph.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?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" | ||
android:id="@+id/gifticon_list_nav_graph" | ||
app:startDestination="@id/gifticon_list_fragment"> | ||
|
||
<fragment | ||
android:id="@+id/gifticon_list_fragment" | ||
android:name="com.lighthouse.features.gifticonlist.ui.GifticonListFragment" /> | ||
</navigation> |
5 changes: 5 additions & 0 deletions
5
features/ui-home/src/main/java/com/lighthouse/features/home/ui/HomeLoadingFragment.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,5 @@ | ||
package com.lighthouse.features.home.ui | ||
|
||
import androidx.fragment.app.Fragment | ||
|
||
class HomeLoadingFragment : Fragment() |
18 changes: 18 additions & 0 deletions
18
features/ui-home/src/main/res/navigation/home_container_nav_graph.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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" | ||
android:id="@+id/home_container_nav_graph" | ||
app:startDestination="@id/home_loading_fragment"> | ||
|
||
<fragment | ||
android:id="@+id/home_loading_fragment" | ||
android:name="com.lighthouse.features.home.ui.HomeLoadingFragment"/> | ||
|
||
<fragment | ||
android:id="@+id/home_fragment" | ||
android:name="com.lighthouse.features.home.ui.HomeFragment"/> | ||
|
||
<fragment | ||
android:id="@+id/home_empty_fragment" | ||
android:name="com.lighthouse.features.home.ui.HomeEmptyFragment"/> | ||
</navigation> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,10 @@ | ||
<?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" | ||
android:id="@+id/home_nav_graph"> | ||
android:id="@+id/home_nav_graph" | ||
app:startDestination="@id/home_container_fragment"> | ||
|
||
<fragment | ||
android:id="@+id/home_container_fragment" | ||
android:name="com.lighthouse.features.home.ui.HomeContainerFragment"/> | ||
</navigation> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
features/ui-intro/src/main/res/navigation/intro_nav_graph.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?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" | ||
android:id="@+id/intro_nav_graph" | ||
app:startDestination="@id/intro_fragment"> | ||
|
||
<fragment | ||
android:id="@+id/intro_fragment" | ||
android:name="com.lighthouse.features.intro.ui.IntroFragment" /> | ||
</navigation> |
10 changes: 10 additions & 0 deletions
10
features/ui-main/src/main/res/navigation/main_nav_graph.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?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" | ||
android:id="@+id/main_nav_graph" | ||
app:startDestination="@id/main_container_fragment"> | ||
|
||
<fragment | ||
android:id="@+id/main_container_fragment" | ||
android:name="com.lighthouse.features.main.ui.MainContainerFragment" /> | ||
</navigation> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
10 changes: 10 additions & 0 deletions
10
features/ui-setting/src/main/res/navigation/setting_nav_graph.xml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
<?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" | ||
android:id="@+id/setting_nav_graph" | ||
app:startDestination="@id/setting_fragment"> | ||
|
||
<fragment | ||
android:id="@+id/setting_fragment" | ||
android:name="com.lighthouse.features.setting.ui.SettingFragment" /> | ||
</navigation> |