|
|
@@ -10,6 +10,8 @@ import kr.co.zumo.app.R;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.ContentsDescriptionBean;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.ContentsDetailBean;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.ContentsDetailImageBean;
|
|
|
+import kr.co.zumo.app.lifeplus.bean.api.ContentsMoreInfoBean;
|
|
|
+import kr.co.zumo.app.lifeplus.util.StringUtil;
|
|
|
import kr.co.zumo.app.lifeplus.view.Event;
|
|
|
import kr.co.zumo.app.lifeplus.view.custom.contents.CustomListicleImageView;
|
|
|
import kr.co.zumo.app.lifeplus.view.custom.contents.CustomListicleInformationView;
|
|
|
@@ -56,14 +58,15 @@ public class ContentsListicleHolder extends ContentsHolder<ContentsDetailBean> {
|
|
|
}
|
|
|
|
|
|
layoutMoreInfoPopup.setVisibility(bean.getMoreInfoList().size() == 0 ? View.GONE : View.VISIBLE);
|
|
|
+ for (int i = 0; i < bean.getMoreInfoList().size(); ++i) {
|
|
|
+ ContentsMoreInfoBean contentsMoreInfoBean = bean.getMoreInfoList().get(i);
|
|
|
+ layoutMoreInfoPopup.setVisibility(null != contentsMoreInfoBean.getMoreInfo() && StringUtil.isFull(contentsMoreInfoBean.getMoreInfo()) ? View.VISIBLE : View.GONE);
|
|
|
+ }
|
|
|
|
|
|
layoutMoreInfoPopup.setOnClickListener(view -> {
|
|
|
listener.onEvent(new Event.Builder(Event.MORE).index(getAdapterPosition()).build());
|
|
|
});
|
|
|
-
|
|
|
- for (int i = 0; i < bean.getMoreInfoList().size(); i++) {
|
|
|
- // Log.e("APP# ContentsListicleHolder | attach", "|" + bean.getMoreInfoList().get(i).getDetailType() + "," + bean.getMoreInfoList().get(i).getMoreInfo());
|
|
|
- }
|
|
|
+
|
|
|
}
|
|
|
|
|
|
@Override
|