Przeglądaj źródła

修改代码编译报错

Pq 8 miesięcy temu
rodzic
commit
ea024f0d51

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