|
@@ -69,15 +69,15 @@ public class BadgeIconListView extends LinearLayout {
|
|
|
}
|
|
|
|
|
|
public void setLiveIcon(boolean isPass) {
|
|
|
- if (mIvVideoCourseIcon != null) {
|
|
|
- mIvVideoCourseIcon.setImageResource(isPass ? R.drawable.icon_video_course_badge_able : R.drawable.icon_video_course_badge_enable);
|
|
|
+ if (mIvLiveIcon != null) {
|
|
|
+ mIvLiveIcon.setImageResource(isPass ? R.drawable.icon_live_badge_able : R.drawable.icon_live_badge_enable);
|
|
|
}
|
|
|
}
|
|
|
|
|
|
|
|
|
public void setVideoCourseIcon(boolean isPass) {
|
|
|
- if (mIvLiveIcon != null) {
|
|
|
- mIvLiveIcon.setImageResource(isPass ? R.drawable.icon_live_badge_able : R.drawable.icon_live_badge_enable);
|
|
|
+ if (mIvVideoCourseIcon != null) {
|
|
|
+ mIvVideoCourseIcon.setImageResource(isPass ? R.drawable.icon_video_course_badge_able : R.drawable.icon_video_course_badge_enable);
|
|
|
}
|
|
|
}
|
|
|
|