From 83749210fef9c5136341a14bd47f838098acd71e Mon Sep 17 00:00:00 2001 From: somin Date: Sun, 8 Dec 2024 16:24:42 +0900 Subject: [PATCH] =?UTF-8?q?ui:=20=EB=B6=88=ED=95=84=EC=9A=94=ED=95=9C=20Te?= =?UTF-8?q?xtView,=20=EB=B0=94=EC=9D=B8=EB=94=A9=20=EC=96=B4=EB=8C=91?= =?UTF-8?q?=ED=84=B0,=20stringRes=20=EC=A0=9C=EA=B1=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../bindingadapter/TextBindingAdapter.kt | 5 ----- .../main/res/layout/activity_staccato_creation.xml | 3 +-- .../main/res/layout/activity_staccato_update.xml | 3 +-- .../res/layout/fragment_visited_at_selection.xml | 14 -------------- .../app/src/main/res/values/strings.xml | 1 - 5 files changed, 2 insertions(+), 24 deletions(-) diff --git a/android/Staccato_AN/app/src/main/java/com/on/staccato/presentation/bindingadapter/TextBindingAdapter.kt b/android/Staccato_AN/app/src/main/java/com/on/staccato/presentation/bindingadapter/TextBindingAdapter.kt index 64291019..dc5957b4 100644 --- a/android/Staccato_AN/app/src/main/java/com/on/staccato/presentation/bindingadapter/TextBindingAdapter.kt +++ b/android/Staccato_AN/app/src/main/java/com/on/staccato/presentation/bindingadapter/TextBindingAdapter.kt @@ -65,11 +65,6 @@ fun TextView.setIsMemoryCandidatesEmptyVisibility(memoryCandidates: MemoryCandid isGone = !memoryCandidates?.memoryCandidate.isNullOrEmpty() } -@BindingAdapter("isMemoryEmpty") -fun TextView.setIsMemoryEmptyVisibility(items: List?) { - isGone = !items.isNullOrEmpty() -} - @BindingAdapter("visitedAtHistory") fun TextView.formatVisitedAtHistory(visitedAt: LocalDateTime?) { text = visitedAt?.let { diff --git a/android/Staccato_AN/app/src/main/res/layout/activity_staccato_creation.xml b/android/Staccato_AN/app/src/main/res/layout/activity_staccato_creation.xml index d8d96311..a49fda89 100644 --- a/android/Staccato_AN/app/src/main/res/layout/activity_staccato_creation.xml +++ b/android/Staccato_AN/app/src/main/res/layout/activity_staccato_creation.xml @@ -227,8 +227,7 @@ app:layout_constraintEnd_toEndOf="parent" app:layout_constraintStart_toStartOf="parent" app:layout_constraintTop_toBottomOf="@id/tv_visited_at_selection_title" - bind:dateTimeWithAmPm="@{viewModel.selectedVisitedAt}" - bind:memoryCandidates="@{viewModel.memoryCandidates}" /> + bind:dateTimeWithAmPm="@{viewModel.selectedVisitedAt}" /> + bind:dateTimeWithAmPm="@{viewModel.selectedVisitedAt}" /> - - 추억 선택 선택하신 날짜에는 추억이 없어요 스타카토를 남길 수 있는 추억이 없어요 - 추억을 먼저 선택해 주세요 기억하고 싶은 순간을 남겨 보세요! 스타카토 기록하기 주소를 찾지 못했습니다