Browse Source

我的课程 视频课增加默认头像

Pq 2 years ago
parent
commit
049d10ccc5

+ 1 - 1
student/src/main/java/com/cooleshow/student/adapter/VideoCourseListAdapter.java

@@ -32,7 +32,7 @@ public class VideoCourseListAdapter extends BaseQuickAdapter<SelectMyGroupBean.R
         holder.setText(R.id.tv_title, data.lessonName);
         //头像
         ImageView cir_avatar = holder.getView(R.id.cir_avatar);
-        GlideUtils.INSTANCE.loadImage(getContext(), data.avatar, cir_avatar);
+        GlideUtils.INSTANCE.loadImage(getContext(), data.avatar, cir_avatar,R.drawable.icon_teacher_default_head);
         //老师名称
         holder.setText(R.id.tv_author_name, data.username);
         //声部

+ 1 - 1
teacher/src/main/java/com/cooleshow/teacher/adapter/VideoCourseListAdapter.java

@@ -31,7 +31,7 @@ public class VideoCourseListAdapter extends BaseQuickAdapter<VideoCourseListBean
         holder.setText(R.id.tv_title, data.lessonName);
         //头像
         ImageView cir_avatar = holder.getView(R.id.cir_avatar);
-        GlideUtils.INSTANCE.loadImage(getContext(), data.avatar, cir_avatar);
+        GlideUtils.INSTANCE.loadImage(getContext(), data.avatar, cir_avatar,R.drawable.icon_teacher_default_head);
         //老师名称
         holder.setText(R.id.tv_author_name, data.username);
         //购买人数