消息气泡位置,关注消息默认消息,样式更改
This commit is contained in:
@@ -2,6 +2,7 @@ package com.yunbao.common.bean;
|
||||
|
||||
import android.text.TextUtils;
|
||||
|
||||
import com.google.gson.Gson;
|
||||
import com.google.gson.annotations.SerializedName;
|
||||
|
||||
/**
|
||||
@@ -17,6 +18,17 @@ public class NewLevelModel extends BaseModel {
|
||||
private String levemax;
|
||||
@SerializedName("thumb")
|
||||
private String thumb;
|
||||
@SerializedName("icon")
|
||||
private String icon;
|
||||
@SerializedName("colour")
|
||||
private String colour;
|
||||
@SerializedName("live_icon")
|
||||
private String liveIcon;
|
||||
|
||||
public static NewLevelModel objectFromData(String str) {
|
||||
|
||||
return new Gson().fromJson(str, NewLevelModel.class);
|
||||
}
|
||||
|
||||
public String getId() {
|
||||
return id;
|
||||
@@ -67,4 +79,28 @@ public class NewLevelModel extends BaseModel {
|
||||
this.thumb = thumb;
|
||||
return this;
|
||||
}
|
||||
|
||||
public String getIcon() {
|
||||
return icon;
|
||||
}
|
||||
|
||||
public void setIcon(String icon) {
|
||||
this.icon = icon;
|
||||
}
|
||||
|
||||
public String getColour() {
|
||||
return colour;
|
||||
}
|
||||
|
||||
public void setColour(String colour) {
|
||||
this.colour = colour;
|
||||
}
|
||||
|
||||
public String getLiveIcon() {
|
||||
return liveIcon;
|
||||
}
|
||||
|
||||
public void setLiveIcon(String liveIcon) {
|
||||
this.liveIcon = liveIcon;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -16,6 +16,8 @@ import java.util.List;
|
||||
public class NewLevelManager extends BaseCacheManager {
|
||||
private final String KEY_USER_LEVEL = "keyUserLevel";
|
||||
private final String KEY_ANCHOR_LEVEL = "keyAnchorLevel";
|
||||
private final String KEY_LIVE_LEVEL = "keyLiveLevel";
|
||||
|
||||
private List<NewLevelModel> newLevelModels = new ArrayList<>();
|
||||
private List<NewLevelModel> keyAnchorLevel = new ArrayList<>();
|
||||
|
||||
|
||||
@@ -735,7 +735,7 @@
|
||||
<string name="live_close_exit">Exit</string>
|
||||
<string name="user">User</string>
|
||||
|
||||
<string name="automatic_chat">If you don\'t take the initiative,how can we have a story?\nTell the anchor say hi~</string>
|
||||
<string name="automatic_chat">If you don\'t take the initiative,how can we have a story?Tell the anchor say hi~</string>
|
||||
|
||||
<string name="add_follow">+ follow</string>
|
||||
<string name="add_into_active">Enter activity</string>
|
||||
|
||||
@@ -780,7 +780,7 @@
|
||||
<string name="live_close_exit">直接退出</string>
|
||||
<string name="user">用戶</string>
|
||||
|
||||
<string name="automatic_chat">你都不主動我們怎麼會有故事,\n跟主播Say Hi吧~</string>
|
||||
<string name="automatic_chat">你都不主動我們怎麼會有故事,跟主播Say Hi吧~</string>
|
||||
<string name="add_follow">+ 關注</string>
|
||||
<string name="add_into_active">進入活動</string>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user