diff --git a/presentation/src/main/java/org/gdsc/presentation/view/mypage/RegisteredRestaurantFragment.kt b/presentation/src/main/java/org/gdsc/presentation/view/mypage/RegisteredRestaurantFragment.kt index e7ff619a..e6192167 100644 --- a/presentation/src/main/java/org/gdsc/presentation/view/mypage/RegisteredRestaurantFragment.kt +++ b/presentation/src/main/java/org/gdsc/presentation/view/mypage/RegisteredRestaurantFragment.kt @@ -52,13 +52,13 @@ class RegisteredRestaurantFragment : Fragment() { myRestaurantAdapter.addLoadStateListener { combinedLoadStates -> if (combinedLoadStates.append.endOfPaginationReached) { - binding.notYetLayout.root.isVisible = myRestaurantAdapter.itemCount == 0 + binding.emptyLayout.isVisible = myRestaurantAdapter.itemCount == 0 } else { - binding.notYetLayout.root.isVisible = false + binding.emptyLayout.isVisible = false } if(combinedLoadStates.refresh is LoadState.Error) { - binding.notYetLayout.root.isVisible = true + binding.emptyLayout.isVisible = true } } diff --git a/presentation/src/main/res/layout/fragment_registered_restaurant.xml b/presentation/src/main/res/layout/fragment_registered_restaurant.xml index 3d8ed176..554af6c2 100644 --- a/presentation/src/main/res/layout/fragment_registered_restaurant.xml +++ b/presentation/src/main/res/layout/fragment_registered_restaurant.xml @@ -77,8 +77,35 @@ android:nestedScrollingEnabled="true" app:layout_behavior="@string/appbar_scrolling_view_behavior"/> - + + + + + + \ No newline at end of file diff --git a/presentation/src/main/res/values/strings.xml b/presentation/src/main/res/values/strings.xml index ec120c74..279343ed 100644 --- a/presentation/src/main/res/values/strings.xml +++ b/presentation/src/main/res/values/strings.xml @@ -71,6 +71,7 @@ 앗, 서비스 준비 중이에요!\n   조금만 기다려주세요. + 등록한 맛집이 없어요 존마탱 캐릭터 이미지 추천 해주고 싶은\n 맛집을 검색해주세요! 검색 결과가 없어요.\n올바른 식당명인지 확인해주세요.