修复第一次进直播间购买守护显示为空的问题
This commit is contained in:
parent
7f001ba887
commit
05b1a9bc74
@ -334,10 +334,6 @@ public class LiveAudienceActivity extends LiveActivity {
|
|||||||
String json = GsonUtils.toJson(data);
|
String json = GsonUtils.toJson(data);
|
||||||
mLiveBean = GsonUtils.fromJson(json, LiveBean.class);
|
mLiveBean = GsonUtils.fromJson(json, LiveBean.class);
|
||||||
mLiveBean.setUserNiceName(data.getUserNicename());
|
mLiveBean.setUserNiceName(data.getUserNicename());
|
||||||
mLiveUid = mLiveBean.getUid();
|
|
||||||
mStream = mLiveBean.getStream();
|
|
||||||
mAncherName = mLiveBean.getUserNiceName();
|
|
||||||
mAncherIcon = mLiveBean.getAvatar();
|
|
||||||
Log.e(TAG, "mLiveUid--------------------------->" + mLiveUid);
|
Log.e(TAG, "mLiveUid--------------------------->" + mLiveUid);
|
||||||
//加载当前页面数据
|
//加载当前页面数据
|
||||||
View rootView = manager.getRootView();
|
View rootView = manager.getRootView();
|
||||||
@ -359,6 +355,10 @@ public class LiveAudienceActivity extends LiveActivity {
|
|||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
mLiveUid = mLiveBean.getUid();
|
||||||
|
mStream = mLiveBean.getStream();
|
||||||
|
mAncherName = mLiveBean.getUserNiceName();
|
||||||
|
mAncherIcon = mLiveBean.getAvatar();
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user