Commit 2bf587f7 authored by mengcuiguang's avatar mengcuiguang

代码优化

parent 228ee11e
......@@ -14,6 +14,7 @@ import com.mints.goodmoney.mvp.model.FlActivityBean
import com.mints.goodmoney.mvp.model.UserTaskMsgBean
import com.mints.goodmoney.ui.widgets.seekbar.BubbleUtils
import com.mints.goodmoney.utils.SpanUtils
import com.mints.library.utils.GlideUtils
class FlDialog(data: FlActivityBean.ActiveTipsConfigDTO, context: Context, private val listener: DialogListener) :
Dialog(context, R.style.dialog) {
......@@ -50,7 +51,8 @@ class FlDialog(data: FlActivityBean.ActiveTipsConfigDTO, context: Context, priva
tv_1.text=data.title
tv_2.text=data.hotTitle
//显示图片
Glide.with(context).load(data.url).into(iv_fl)
//显示图片
GlideUtils.loadImageViewLoding(context,data.url,iv_fl,R.mipmap.fl_zwf)
tv_focus.setOnClickListener {
listener.onClick(it)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment