|
|
@@ -9,6 +9,7 @@ import android.widget.TextView;
|
|
|
|
|
|
import kr.co.zumo.app.R;
|
|
|
import kr.co.zumo.app.lifeplus.bean.api.NoticeBean;
|
|
|
+import kr.co.zumo.app.lifeplus.util.Formatter;
|
|
|
import kr.co.zumo.app.lifeplus.view.Event;
|
|
|
import kr.co.zumo.app.lifeplus.view.IEventListener;
|
|
|
|
|
|
@@ -47,10 +48,10 @@ public class NotiExpandableViewHolder extends NotiViewHolder {
|
|
|
|
|
|
@Override
|
|
|
public void bind(NoticeBean bean, IEventListener listener) {
|
|
|
- // Spanned contents = StringUtil.fromHtml(bean.getContents());
|
|
|
+ // Spanned contents = StringUtil.fromHtml(bean.getContents());
|
|
|
textViewAlarmCategory.setText(bean.getFlagName());
|
|
|
textViewAlarmTitle.setText(bean.getTitle());
|
|
|
- textViewAlarmDate.setText(bean.getDate());
|
|
|
+ textViewAlarmDate.setText(Formatter.format(bean.getOpeningDate(), Formatter.DATE_TIME_FORMAT, "yyyy-MM-dd HH:mm"));
|
|
|
//textViewAlarmContents.setText(contents);
|
|
|
//textViewAlarmContents.setMovementMethod(LinkMovementMethod.getInstance());
|
|
|
|