|
|
@@ -14,6 +14,7 @@ import kr.co.hanwha.hifive.base.BaseViewHolder;
|
|
|
import kr.co.hanwha.hifive.data.model.ProjectTaskInfo;
|
|
|
import kr.co.hanwha.hifive.util.HFCommonUtil;
|
|
|
import kr.co.hanwha.hifive.util.HFDateUtil;
|
|
|
+import kr.co.hanwha.hifive.util.HFLogUtil;
|
|
|
import kr.co.hanwha.hifive.util.HFTaskUtil;
|
|
|
|
|
|
/**
|
|
|
@@ -95,7 +96,7 @@ public class MainProjectTaskListViewHolder extends BaseViewHolder {
|
|
|
mTextViewTitle.setTextColor(HFCommonUtil.getColor(getContext(), R.color.hf_grey01));
|
|
|
|
|
|
mTextViewDueDate.setTextColor(HFTaskUtil.getDueDateFontColor(getContext(), data.getDue_to(), null));
|
|
|
-
|
|
|
+
|
|
|
mImageViewStatus.setVisibility(View.VISIBLE);
|
|
|
} else {
|
|
|
mTextViewTitle.setTextColor(HFCommonUtil.getColor(getContext(), R.color.hf_grey03));
|
|
|
@@ -117,10 +118,7 @@ public class MainProjectTaskListViewHolder extends BaseViewHolder {
|
|
|
|
|
|
// Log
|
|
|
if (HFApplication.DEV_LOG) {
|
|
|
- String log = "TASK : " + data.getId() +
|
|
|
- " MemberId : " + data.getMember_id();
|
|
|
-
|
|
|
- mTextViewLog.setText(log);
|
|
|
+ mTextViewLog.setText(HFLogUtil.getLogData(data));
|
|
|
mTextViewLog.setVisibility(View.VISIBLE);
|
|
|
} else {
|
|
|
mTextViewLog.setVisibility(View.GONE);
|