|
|
@@ -19,7 +19,6 @@ import java.util.List;
|
|
|
|
|
|
import kr.co.zumo.app.R;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.ContentsItemBean;
|
|
|
-import kr.co.zumo.app.lifeplus.util.AppUtil;
|
|
|
import kr.co.zumo.app.lifeplus.util.ResourceUtil;
|
|
|
import kr.co.zumo.app.lifeplus.util.StringUtil;
|
|
|
import kr.co.zumo.app.lifeplus.view.Event;
|
|
|
@@ -120,10 +119,8 @@ public class ContentsListicleCoverHolder extends ContentsHolder<ContentsItemBean
|
|
|
tagTextViewList.add(textViewTag2);
|
|
|
tagTextViewList.add(textViewTag3);
|
|
|
|
|
|
- for (int i = 0; i < len; i++) {
|
|
|
- StringBuilder stringBuilder = new StringBuilder();
|
|
|
- stringBuilder.append(String.format("#%s", bean.getTagList().get(i).getTagName()));
|
|
|
- tagTextViewList.get(i).setText(stringBuilder.toString());
|
|
|
+ for (int i = 0; i < len; ++i) {
|
|
|
+ tagTextViewList.get(i).setText(String.format("#%s", bean.getTagList().get(i).getTagName()));
|
|
|
int tagIndex = i;
|
|
|
tagTextViewList.get(i).setOnClickListener(view -> {listener.onEvent(new Event.Builder(Event.TAG).index(tagIndex).build());});
|
|
|
}
|
|
|
@@ -132,9 +129,7 @@ public class ContentsListicleCoverHolder extends ContentsHolder<ContentsItemBean
|
|
|
if (null != bean.getCopyRight()) {
|
|
|
textViewCopyRight.setText(bean.getCopyRight());
|
|
|
}
|
|
|
- else if (AppUtil.isDebug()) {
|
|
|
- textViewCopyRight.setText(R.string.copy_right);
|
|
|
- }
|
|
|
+
|
|
|
imageViewArrow.setOnClickListener(view -> {listener.onEvent(new Event.Builder(Event.SCROLL).build());});
|
|
|
|
|
|
}
|