diff --git a/app/src/main/java/org/sopt/kream/presentation/ui/main/home/recommend/RecommendJustDroppedViewHolder.kt b/app/src/main/java/org/sopt/kream/presentation/ui/main/home/recommend/RecommendJustDroppedViewHolder.kt index de5ff5c..30b9da8 100644 --- a/app/src/main/java/org/sopt/kream/presentation/ui/main/home/recommend/RecommendJustDroppedViewHolder.kt +++ b/app/src/main/java/org/sopt/kream/presentation/ui/main/home/recommend/RecommendJustDroppedViewHolder.kt @@ -24,11 +24,11 @@ class RecommendJustDroppedViewHolder( tvJustDroppedProductPrice.text = recommendJustDroppedProductModel.price tvJustDroppedProductTransaction.text = recommendJustDroppedProductModel.transactionCount ivJustDroppedProductScrap.setImageResource(if (recommendJustDroppedProductModel.isScrap) R.drawable.ic_saved_2_on_24 else R.drawable.ic_saved_2_off_24) - includeJustDroppedProductFastDelivery.tvFastDelivery.visibility = if (recommendJustDroppedProductModel.isFreeDeliver) View.VISIBLE else View.GONE - includeJustDroppedProductFastDelivery.ivFastDelivery.visibility = if (recommendJustDroppedProductModel.isFreeDeliver) View.VISIBLE else View.GONE + includeJustDroppedProductFastDelivery.tvRecommendFastDelivery.visibility = if (recommendJustDroppedProductModel.isFreeDeliver) View.VISIBLE else View.GONE + includeJustDroppedProductFastDelivery.ivRecommendFastDelivery.visibility = if (recommendJustDroppedProductModel.isFreeDeliver) View.VISIBLE else View.GONE tvJustDroppedProductCoupon.visibility = if (recommendJustDroppedProductModel.isCoupon) View.VISIBLE else View.GONE tvJustDroppedProductSave.visibility = if (recommendJustDroppedProductModel.isSave) View.VISIBLE else View.GONE - tvJustDroppedProductFreeDeliver.visibility = if (recommendJustDroppedProductModel.isFreeDeliver) View.VISIBLE else View.GONE + tvJustDroppedProductFreeDeliver.visibility = if (recommendJustDroppedProductModel.isFreeDeliver) View.VISIBLE else View.INVISIBLE root.setOnClickListener { navigateToProductDetail(position) } diff --git a/app/src/main/res/drawable/ic_fd_10.xml b/app/src/main/res/drawable/ic_fd_10.xml new file mode 100644 index 0000000..350906a --- /dev/null +++ b/app/src/main/res/drawable/ic_fd_10.xml @@ -0,0 +1,12 @@ + + + + diff --git a/app/src/main/res/layout/item_recommend_just_dropped_product.xml b/app/src/main/res/layout/item_recommend_just_dropped_product.xml index 1806d8c..4ebd999 100644 --- a/app/src/main/res/layout/item_recommend_just_dropped_product.xml +++ b/app/src/main/res/layout/item_recommend_just_dropped_product.xml @@ -78,7 +78,7 @@ + app:layout_constraintStart_toEndOf="@+id/iv_recommend_fast_delivery" + app:layout_constraintTop_toTopOf="@+id/iv_recommend_fast_delivery" /> \ No newline at end of file diff --git a/app/src/main/res/layout/view_recommend_fast_delivery.xml b/app/src/main/res/layout/view_recommend_fast_delivery.xml new file mode 100644 index 0000000..704ebfe --- /dev/null +++ b/app/src/main/res/layout/view_recommend_fast_delivery.xml @@ -0,0 +1,34 @@ + + + + + + + + \ No newline at end of file