Skip to content

Commit

Permalink
#66 feat : 홈 네비게이션 액션 정의
Browse files Browse the repository at this point in the history
Co-authored-by: plashdof <[email protected]>
Co-authored-by: yy0ung <[email protected]>
  • Loading branch information
3 people committed Nov 21, 2023
1 parent a682eae commit d5c3abb
Showing 1 changed file with 28 additions and 1 deletion.
29 changes: 28 additions & 1 deletion Aos/app/src/main/res/navigation/nav_graph.xml
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,11 @@
android:id="@+id/homeFragment"
android:name="com.avengers.nibobnebob.presentation.ui.main.home.HomeFragment"
android:label="fragment_home"
tools:layout="@layout/fragment_home" />
tools:layout="@layout/fragment_home" >
<action
android:id="@+id/action_homeFragment_to_restaurantSearchFragment"
app:destination="@id/restaurantSearchFragment" />
</fragment>
<fragment
android:id="@+id/followFragment"
android:name="com.avengers.nibobnebob.presentation.ui.main.follow.FollowFragment"
Expand Down Expand Up @@ -40,6 +44,17 @@
app:destination="@id/myPageFragment"
app:popUpTo="@id/myPageFragment"
app:popUpToInclusive="false"/>
<action
android:id="@+id/global_to_restaurantDetailFragment"
app:destination="@id/restaurantDetailFragment"
app:popUpTo="@id/homeFragment"
app:popUpToInclusive="false"/>
<action
android:id="@+id/global_to_addMyRestaurantFragment"
app:destination="@id/addMyRestaurantFragment"
app:popUpTo="@id/homeFragment"
app:popUpToInclusive="false"/>

<fragment
android:id="@+id/editProfileFragment"
android:name="com.avengers.nibobnebob.presentation.ui.main.mypage.edit_profile.EditProfileFragment"
Expand All @@ -52,4 +67,16 @@
android:id="@+id/wishRestaurantListFragment"
android:name="com.avengers.nibobnebob.presentation.ui.main.mypage.wish_list.WishRestaurantListFragment"
android:label="WishRestaurantListFragment" />
<fragment
android:id="@+id/restaurantSearchFragment"
android:name="com.avengers.nibobnebob.presentation.ui.main.home.restaurant_search.RestaurantSearchFragment"
android:label="RestaurantSearchFragment" />
<fragment
android:id="@+id/addMyRestaurantFragment"
android:name="com.avengers.nibobnebob.presentation.ui.global.restaurant_add.AddMyRestaurantFragment"
android:label="AddMyRestaurantFragment" />
<fragment
android:id="@+id/restaurantDetailFragment"
android:name="com.avengers.nibobnebob.presentation.ui.global.restaurant_detail.RestaurantDetailFragment"
android:label="RestaurantDetailFragment" />
</navigation>

0 comments on commit d5c3abb

Please sign in to comment.