فهرست منبع

修改代码编译报错

Pq 8 ماه پیش
والد
کامیت
ea024f0d51
1فایلهای تغییر یافته به همراه3 افزوده شده و 2 حذف شده
  1. 3 2
      teacher/src/main/java/com/cooleshow/teacher/adapter/MessageBoxAdapter.java

+ 3 - 2
teacher/src/main/java/com/cooleshow/teacher/adapter/MessageBoxAdapter.java

@@ -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;
         }
+    }
 }