Browse Source

[컨텐츠][Bug] 컨텐츠 리스티클 제목 2줄 처리

hyodong.min 7 years ago
parent
commit
e25bb2cee3

+ 1 - 0
app/src/main/java/kr/co/zumo/app/lifeplus/view/custom/contents/CustomListicleImageViewHolder.java

@@ -40,6 +40,7 @@ public class CustomListicleImageViewHolder extends RecyclerView.ViewHolder {
     imageViewBackground = itemView.findViewById(R.id.image_view_background);
     Glide.with(imageViewBackground)
       .asBitmap().load(bean.getImageUrl()).into(imageViewBackground);
+
     // TODO: copyright 처리
     if(null !=bean.getCopyRight()){
       textViewCopyRight.setText(bean.getCopyRight());

+ 1 - 1
app/src/main/java/kr/co/zumo/app/lifeplus/view/screen/contents/ContentsListicleHolder.java

@@ -43,7 +43,7 @@ public class ContentsListicleHolder extends ContentsHolder<ContentsDetailBean> {
   protected void bindInternal() {
     List<ContentsDetailImageBean> contentsDetailImageBeans = bean.getItemImageList();
 
-    customListicleImageView.init(itemView.getContext(), index, bean.getTitle(), bean.getSubTitle(), contentsDetailImageBeans, event -> {});
+    customListicleImageView.init(itemView.getContext(), index, bean.getTwoLineTitle(), bean.getSubTitle(), contentsDetailImageBeans, event -> {});
 
     if (null != layoutContainer) {
       layoutContainer.removeAllViews();