Commit f9baa3c7 authored by jianglx's avatar jianglx

修改海报页面闪退的问题

parent 617f25eb
...@@ -63,7 +63,7 @@ public class ReativeBillActivity extends BaseStatusActivity<ReativeBillPresenter ...@@ -63,7 +63,7 @@ public class ReativeBillActivity extends BaseStatusActivity<ReativeBillPresenter
@BindView(R2.id.img_bill_top) @BindView(R2.id.img_bill_top)
ImageView imgBillTop; ImageView imgBillTop;
@BindView(R2.id.scrollView) @BindView(R2.id.scrollView)
ScrollView scrollView ; ScrollView scrollView;
// @BindView(R2.id.ll_content) // @BindView(R2.id.ll_content)
// LinearLayout llContent; // LinearLayout llContent;
...@@ -100,14 +100,15 @@ public class ReativeBillActivity extends BaseStatusActivity<ReativeBillPresenter ...@@ -100,14 +100,15 @@ public class ReativeBillActivity extends BaseStatusActivity<ReativeBillPresenter
.into(utils); .into(utils);
UserInfoBean userInfoBean = (UserInfoBean) RvCache.getInstance().get(CacheEnum.USER); UserInfoBean userInfoBean = (UserInfoBean) RvCache.getInstance().get(CacheEnum.USER);
if (userInfoBean != null && userInfoBean.getData() != null) {
String name = userInfoBean.getData().getNickname(); String name = userInfoBean.getData().getNickname();
String url = userInfoBean.getData().getHeadimgurl(); String url = userInfoBean.getData().getHeadimgurl();
if (!TextUtils.isEmpty(url)) { if (!TextUtils.isEmpty(url)) {
GlideManager.getInstance(getApplicationContext()).loadImage(url, roundImageView, R.drawable.icon_bill_defult); GlideManager.getInstance(getApplicationContext()).loadImage(url, roundImageView, R.drawable.icon_bill_defult);
} }
if (!TextUtils.isEmpty(name)) { if (!TextUtils.isEmpty(name)) {
tvPhone.setText(name); tvPhone.setText(name);
}
} }
} }
......
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