feat:更新数据的获取逻辑,接入配置按钮的跳转行为
This commit is contained in:
@@ -11,6 +11,7 @@ import androidx.annotation.NonNull;
|
||||
import androidx.annotation.Nullable;
|
||||
import androidx.lifecycle.MutableLiveData;
|
||||
|
||||
import com.chwl.core.room.bean.RightBottomIconConfig;
|
||||
import com.chwl.core.support.room.AudioRoomContext;
|
||||
import com.netease.nimlib.sdk.NIMChatRoomSDK;
|
||||
import com.netease.nimlib.sdk.RequestCallback;
|
||||
@@ -236,6 +237,8 @@ public final class AvRoomDataManager {
|
||||
|
||||
private List<Integer> unlockedRoomAlbumPhotos = new ArrayList<>();
|
||||
|
||||
public RightBottomIconConfig rightBottomIconConfig;
|
||||
|
||||
private AvRoomDataManager() {
|
||||
mRoomManagerList = new ArrayList<>();
|
||||
mRoomFixedMemberList = new ArrayList<>();
|
||||
@@ -299,6 +302,7 @@ public final class AvRoomDataManager {
|
||||
redEnvelopeType = roomInfo.getRedEnvelopeType();
|
||||
hasRoomAlbum = roomInfo.isHasRoomAlbum();
|
||||
serialValue = roomInfo.getSerialValue();
|
||||
rightBottomIconConfig = roomInfo.rightBottomIconConfig;
|
||||
}
|
||||
|
||||
/**
|
||||
|
@@ -7,7 +7,7 @@ import java.io.Serializable;
|
||||
|
||||
public class RightBottomIconConfig implements Parcelable, Serializable {
|
||||
|
||||
int skipType;
|
||||
int skipType;
|
||||
private String skipUrl;
|
||||
|
||||
private String icon2Url;
|
||||
@@ -24,6 +24,36 @@ public class RightBottomIconConfig implements Parcelable, Serializable {
|
||||
reserve = in.readString();
|
||||
}
|
||||
|
||||
@Override
|
||||
public String toString() {
|
||||
return "RightBottomIconConfig{" +
|
||||
"skipType=" + skipType +
|
||||
", skipUrl='" + skipUrl + '\'' +
|
||||
", icon2Url='" + icon2Url + '\'' +
|
||||
", icon1Url='" + icon1Url + '\'' +
|
||||
", reserve='" + reserve + '\'' +
|
||||
'}';
|
||||
}
|
||||
|
||||
public void setIcon1Url(String icon1Url) {
|
||||
this.icon1Url = icon1Url;
|
||||
}
|
||||
|
||||
public void setIcon2Url(String icon2Url) {
|
||||
this.icon2Url = icon2Url;
|
||||
}
|
||||
|
||||
public void setReserve(String reserve) {
|
||||
this.reserve = reserve;
|
||||
}
|
||||
|
||||
public void setSkipType(int skipType) {
|
||||
this.skipType = skipType;
|
||||
}
|
||||
|
||||
public void setSkipUrl(String skipUrl) {
|
||||
this.skipUrl = skipUrl;
|
||||
}
|
||||
public int getSkipType() {
|
||||
return skipType;
|
||||
}
|
||||
|
@@ -160,7 +160,7 @@ public class RoomInfo implements Parcelable,Serializable {
|
||||
// 总流水
|
||||
private double serialValue;
|
||||
|
||||
private RightBottomIconConfig rightBottomIconConfig;
|
||||
public RightBottomIconConfig rightBottomIconConfig;
|
||||
|
||||
protected RoomInfo(Parcel in) {
|
||||
uid = in.readLong();
|
||||
|
Reference in New Issue
Block a user