Commit f9baa3c7 authored by jianglx's avatar jianglx

修改海报页面闪退的问题

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