Selaa lähdekoodia

[마이][Common] 쿠폰 레이아웃 클릭 이벤트 영역 및 검색 스크롤시 카테고리 리스트 레이아웃 수정

Hasemi 7 vuotta sitten
vanhempi
commit
cdc7c37f56

+ 23 - 0
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/my/coin/CoopRecommendGoodsHolder.java

@@ -33,6 +33,7 @@ public class CoopRecommendGoodsHolder {
   private TextView textViewProduct;
   private TextView textViewPrice;
   private ImageView imageViewDetailArrow;
+  private ImageView imageViewCoin;
 
   public CoopRecommendGoodsHolder(View itemView) {
     textViewTitle = itemView.findViewById(R.id.text_view_buy_text);
@@ -41,6 +42,7 @@ public class CoopRecommendGoodsHolder {
     textViewProduct = itemView.findViewById(R.id.text_view_product);
     textViewPrice = itemView.findViewById(R.id.text_view_price);
     imageViewDetailArrow = itemView.findViewById(R.id.image_view_detail_arrow);
+    imageViewCoin = itemView.findViewById(R.id.image_view_coin);
     layoutContainer = itemView.findViewById(R.id.layout_coops_recommend);
   }
 
@@ -50,9 +52,30 @@ public class CoopRecommendGoodsHolder {
     textViewStore.setText(bean.getBrand());
     textViewProduct.setText(bean.getName());
     textViewPrice.setText(StringUtil.toComma(bean.getPrice()));
+
     imageViewDetailArrow.setOnClickListener(view -> {
       listener.onEvent(new Event.Builder(Event.CLICK).build());
     });
+
+    imageViewCouponImage.setOnClickListener(view -> {
+      listener.onEvent(new Event.Builder(Event.CLICK).build());
+    });
+
+    textViewProduct.setOnClickListener(view -> {
+      listener.onEvent(new Event.Builder(Event.CLICK).build());
+    });
+
+    textViewPrice.setOnClickListener(view -> {
+      listener.onEvent(new Event.Builder(Event.CLICK).build());
+    });
+    
+    imageViewCoin.setOnClickListener(view -> {
+      listener.onEvent(new Event.Builder(Event.CLICK).build());
+    });
+
+    textViewStore.setOnClickListener(view -> {
+      listener.onEvent(new Event.Builder(Event.CLICK).build());
+    });
   }
 
 

+ 1 - 1
app/src/main/res/layout/search_category_check_box.xml

@@ -9,7 +9,7 @@
   <CheckBox
     android:id="@+id/check_box"
     android:layout_width="wrap_content"
-    android:layout_height="30dp"
+    android:layout_height="35dp"
     android:background="@null"
     android:button="@android:color/transparent"
     android:paddingStart="4dp"