|
@@ -56,8 +56,8 @@ public class MessageBoxAdapter extends BaseQuickAdapter<SystemMessageBean.RowsBe
|
|
|
}
|
|
|
|
|
|
private void loadIcon(ImageView im_type, String img, String subType) {
|
|
|
- if(!TextUtils.isEmpty(img)){
|
|
|
- GlideUtils.INSTANCE.loadImage(getContext(),img,im_type,R.drawable.icon_message_other);
|
|
|
+ if (!TextUtils.isEmpty(img)) {
|
|
|
+ GlideUtils.INSTANCE.loadImage(getContext(), img, im_type, R.drawable.icon_message_other);
|
|
|
return;
|
|
|
}
|
|
|
switch (subType) {
|
|
@@ -123,4 +123,5 @@ public class MessageBoxAdapter extends BaseQuickAdapter<SystemMessageBean.RowsBe
|
|
|
im_type.setImageResource(R.drawable.icon_message_other);
|
|
|
break;
|
|
|
}
|
|
|
+ }
|
|
|
}
|