修复设置女神说刷新问题
This commit is contained in:
@@ -35,6 +35,8 @@ public class LiveOpenCustomPopup extends BottomPopupView {
|
||||
|
||||
private int status_say, status_call;
|
||||
|
||||
private Context mContext;
|
||||
|
||||
public LiveOpenCustomPopup setClassBean(LiveClassBean classBean) {
|
||||
this.classBean = classBean;
|
||||
textLiveClass.setText(classBean.getName());
|
||||
@@ -48,6 +50,7 @@ public class LiveOpenCustomPopup extends BottomPopupView {
|
||||
|
||||
public LiveOpenCustomPopup(@NonNull Context context, int selectClarity, LiveClassBean classBean, LiveRoomTypeBean liveRoomTypeBean) {
|
||||
super(context);
|
||||
this.mContext = context;
|
||||
this.selectClarity = selectClarity;
|
||||
this.classBean = classBean;
|
||||
this.liveRoomTypeBean = liveRoomTypeBean;
|
||||
@@ -167,7 +170,7 @@ public class LiveOpenCustomPopup extends BottomPopupView {
|
||||
}
|
||||
|
||||
public void initDate() {
|
||||
textSay.setText(status_say == 1 ? R.string.do_set : R.string.not_set);
|
||||
textSay.setText(IMLoginManager.get(mContext).getAnchorSayStatus() == 1 ? R.string.do_set : R.string.not_set);
|
||||
textCall.setText(status_call == 1 ? R.string.robot_yes : R.string.robot_no);
|
||||
LiveNetManager.get(getContext())
|
||||
.getLiveStetUpStatus(String.valueOf(IMLoginManager.get(getContext()).getUserInfo().getId()),
|
||||
|
||||
Reference in New Issue
Block a user