|
|
@@ -8,7 +8,6 @@ import com.yingyang.push.entity.PushMessageBean
|
|
|
import com.yingyangfly.baselib.adapter.BaseDataBindingAdapter
|
|
|
import com.yingyangfly.baselib.ext.setOnSingleClickListener
|
|
|
import com.yingyangfly.baselib.ext.setTextColorResource
|
|
|
-import com.yingyangfly.baselib.ext.timeFormat
|
|
|
|
|
|
/**
|
|
|
* 推送类型adapter
|
|
|
@@ -25,7 +24,7 @@ class PushListAdapter(override val layoutId: Int = R.layout.item_push_list) :
|
|
|
position: Int
|
|
|
) {
|
|
|
binding.data = item
|
|
|
- binding.tvDate.text = timeFormat(item.createTime)
|
|
|
+ binding.tvDate.text = item.createTime
|
|
|
if (TextUtils.equals("缴费提醒", item.msgType)) {
|
|
|
binding.imageTips.setBackgroundResource(R.mipmap.icon_notify_pay)
|
|
|
} else if (TextUtils.equals("报告提醒", item.msgType)) {
|