修改上下滑动黑

This commit is contained in:
18142669586
2024-05-31 19:01:41 +08:00
parent 9621d8a6d8
commit d3de01666c
4 changed files with 36 additions and 27 deletions

View File

@@ -316,7 +316,7 @@ public class LiveAudienceActivity extends LiveActivity {
}
});
} else {
MainNetManager.get(mContext).anchorRecommendType("30", new com.yunbao.common.http.base.HttpCallback<AnchorRecommendModel>() {
MainNetManager.get(mContext).anchorRecommendType("30",isSw?"1":"0", new com.yunbao.common.http.base.HttpCallback<AnchorRecommendModel>() {
@Override
public void onSuccess(AnchorRecommendModel data) {
if (TextUtils.equals(data.getList().get(0).getUid(), mLiveBean.getUid())) {
@@ -898,7 +898,7 @@ public class LiveAudienceActivity extends LiveActivity {
if (userIndex != -1) {
list.remove(userIndex);
}
CustomDrawerPopupView customDrawerPopupView = new CustomDrawerPopupView(mContext).setList(list).setLiveId(mLiveBean.getUid());
CustomDrawerPopupView customDrawerPopupView = new CustomDrawerPopupView(mContext,isSw).setList(list).setLiveId(mLiveBean.getUid());
customDrawerPopupView.setCallBack(new CustomDrawerPopupView.CustomDrawerPopupCallBack() {
@Override
@@ -1577,6 +1577,8 @@ public class LiveAudienceActivity extends LiveActivity {
Map<String, Object> map = new HashMap<>();
map.put("num", "9");
map.put("live_recommend", "sidebar");
map.put(" is_shengwang", isSw?"1":"0");
//推荐位
MainNetManager.get(mContext).anchorRecommend(map, new com.yunbao.common.http.base.HttpCallback<AnchorRecommendModel>() {
@Override