From bc9df41abe3bf4c106694ad0d28e3db9d8f18261 Mon Sep 17 00:00:00 2001 From: vrexpert Date: Fri, 19 Apr 2024 13:33:52 +0900 Subject: [PATCH] =?UTF-8?q?feat(FestivalDetail):=20=EC=95=84=EC=A7=81=20?= =?UTF-8?q?=EB=9D=BC=EC=9D=B8=EC=97=85=EC=9D=B4=20=EC=97=86=EC=9D=8C?= =?UTF-8?q?=EC=9D=84=20=EB=B3=B4=EC=97=AC=EC=A4=80=EB=8B=A4.?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../festivaldetail/uiState/FestivalDetailUiState.kt | 1 + .../main/res/layout/fragment_festival_detail.xml | 13 +++++++++++++ .../presentation/src/main/res/values/strings.xml | 1 + 3 files changed, 15 insertions(+) diff --git a/android/festago/presentation/src/main/java/com/festago/festago/presentation/ui/festivaldetail/uiState/FestivalDetailUiState.kt b/android/festago/presentation/src/main/java/com/festago/festago/presentation/ui/festivaldetail/uiState/FestivalDetailUiState.kt index d91ea42cc..dc0f2eb1c 100644 --- a/android/festago/presentation/src/main/java/com/festago/festago/presentation/ui/festivaldetail/uiState/FestivalDetailUiState.kt +++ b/android/festago/presentation/src/main/java/com/festago/festago/presentation/ui/festivaldetail/uiState/FestivalDetailUiState.kt @@ -11,6 +11,7 @@ interface FestivalDetailUiState { object Error : FestivalDetailUiState val shouldShowSuccess get() = this is Success + val shouldShowEmptyStages get() = shouldShowSuccess && (this as Success).stages.isEmpty() val shouldShowLoading get() = this is Loading val shouldShowError get() = this is Error } diff --git a/android/festago/presentation/src/main/res/layout/fragment_festival_detail.xml b/android/festago/presentation/src/main/res/layout/fragment_festival_detail.xml index 49f7fc19c..e5b1968ec 100644 --- a/android/festago/presentation/src/main/res/layout/fragment_festival_detail.xml +++ b/android/festago/presentation/src/main/res/layout/fragment_festival_detail.xml @@ -221,5 +221,18 @@ app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toTopOf="parent" /> + + diff --git a/android/festago/presentation/src/main/res/values/strings.xml b/android/festago/presentation/src/main/res/values/strings.xml index 4191016f5..098b8352b 100644 --- a/android/festago/presentation/src/main/res/values/strings.xml +++ b/android/festago/presentation/src/main/res/values/strings.xml @@ -37,6 +37,7 @@ 진행 중 D%1$s 종료 + 아직 라인업이 공개되지 않았어요 지역별