diff --git a/common/src/main/java/com/yunbao/common/bean/RecommendLiveRoomModel.java b/common/src/main/java/com/yunbao/common/bean/RecommendLiveRoomModel.java index f8cdf1b07..5a930c02b 100644 --- a/common/src/main/java/com/yunbao/common/bean/RecommendLiveRoomModel.java +++ b/common/src/main/java/com/yunbao/common/bean/RecommendLiveRoomModel.java @@ -19,6 +19,17 @@ public class RecommendLiveRoomModel extends BaseModel { private String avatar; @SerializedName("title") private String title; + @SerializedName("admin_nickname") + private String adminNickname; + + public String getAdminNickname() { + return adminNickname; + } + + public RecommendLiveRoomModel setAdminNickname(String adminNickname) { + this.adminNickname = adminNickname; + return this; + } public String getLiveuid() { return liveuid; diff --git a/common/src/main/java/com/yunbao/common/manager/imrongcloud/InstructorSendReward.java b/common/src/main/java/com/yunbao/common/manager/imrongcloud/InstructorSendReward.java index 98a8d2f78..948275630 100644 --- a/common/src/main/java/com/yunbao/common/manager/imrongcloud/InstructorSendReward.java +++ b/common/src/main/java/com/yunbao/common/manager/imrongcloud/InstructorSendReward.java @@ -9,9 +9,7 @@ import io.rong.imlib.model.MessageContent; @SuppressLint("ParcelCreator") @MessageTag(value = "InstructorSendReward", flag = MessageTag.ISCOUNTED) public class InstructorSendReward extends MessageContent { - public InstructorSendReward(byte[] data) { - super(data); - } + @Override public byte[] encode() { diff --git a/live/src/main/java/com/yunbao/live/views/RecommendLiveRoomProvider.java b/live/src/main/java/com/yunbao/live/views/RecommendLiveRoomProvider.java index 056add0b7..40439852a 100644 --- a/live/src/main/java/com/yunbao/live/views/RecommendLiveRoomProvider.java +++ b/live/src/main/java/com/yunbao/live/views/RecommendLiveRoomProvider.java @@ -29,6 +29,7 @@ import io.rong.imlib.model.MessageContent; */ public class RecommendLiveRoomProvider extends BaseMessageItemProvider { private Context mContext; + private String politicalInstructor = ""; public RecommendLiveRoomProvider(Context context) { this.mContext = context; @@ -69,9 +70,10 @@ public class RecommendLiveRoomProvider extends BaseMessageItemProvider