|
@@ -60,16 +60,16 @@ public class MineScoreAdapter extends BaseQuickAdapter<MusicSheetListBean.RowsBe
|
|
|
tv_author_name.setText(item.composer);
|
|
|
GlideUtils.INSTANCE.loadImage(getContext(), item.addUserAvatar, im_header, R.drawable.icon_teacher_default_head);
|
|
|
tv_teacher_name.setText(item.addName);
|
|
|
- if (!TextUtils.isEmpty(item.musicSheetName)) {
|
|
|
+ if (!TextUtils.isEmpty(item.subjectNames)) {
|
|
|
rv_mark.setVisibility(View.VISIBLE);
|
|
|
List<String> markList = new ArrayList<>();
|
|
|
- if (item.musicSheetName.contains(",")) {
|
|
|
- String[] split = item.musicSheetName.split(",");
|
|
|
+ if (item.subjectNames.contains(",")) {
|
|
|
+ String[] split = item.subjectNames.split(",");
|
|
|
for (String s : split) {
|
|
|
markList.add(s);
|
|
|
}
|
|
|
} else {
|
|
|
- markList.add(item.musicSheetName);
|
|
|
+ markList.add(item.subjectNames);
|
|
|
}
|
|
|
LinearLayoutManager manager = new LinearLayoutManager(getContext());
|
|
|
manager.setOrientation(LinearLayoutManager.HORIZONTAL);
|