diff --git a/common/src/main/java/com/yunbao/common/views/CustomDrawerPopupView.java b/common/src/main/java/com/yunbao/common/views/CustomDrawerPopupView.java index 1745aee68..e111905c0 100644 --- a/common/src/main/java/com/yunbao/common/views/CustomDrawerPopupView.java +++ b/common/src/main/java/com/yunbao/common/views/CustomDrawerPopupView.java @@ -59,7 +59,7 @@ public class CustomDrawerPopupView extends DrawerPopupView { Bus.getOn(this); super.onCreate(); initView(); - + initData(null); } diff --git a/config.gradle b/config.gradle index 9b9ac5933..7a26c388d 100644 --- a/config.gradle +++ b/config.gradle @@ -4,7 +4,7 @@ ext { buildToolsVersion: "28.0.3", minSdkVersion : 21, targetSdkVersion : 31, - versionCode : 307, + versionCode : 308, versionName : "6.4.5" ] manifestPlaceholders = [ diff --git a/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java b/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java index c6cc6fa34..1b264bf68 100644 --- a/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java +++ b/live/src/main/java/com/yunbao/live/activity/LiveAudienceActivity.java @@ -41,7 +41,6 @@ import com.yunbao.common.activity.WebViewActivity; import com.yunbao.common.bean.AnchorRecommendItemModel; import com.yunbao.common.bean.AnchorRecommendModel; import com.yunbao.common.bean.CrashSaveBean; -import com.yunbao.common.bean.CustomSidebarInfoModel; import com.yunbao.common.bean.IMLoginModel; import com.yunbao.common.bean.LinkMicUserBean; import com.yunbao.common.bean.LiveBean; @@ -60,7 +59,6 @@ import com.yunbao.common.http.CommonHttpConsts; import com.yunbao.common.http.CommonHttpUtil; import com.yunbao.common.http.HttpCallback; import com.yunbao.common.http.HttpClient; -import com.yunbao.common.http.live.LiveNetManager; import com.yunbao.common.http.main.MainNetManager; import com.yunbao.common.interfaces.CommonCallback; import com.yunbao.common.manager.IMLoginManager; @@ -308,19 +306,7 @@ public class LiveAudienceActivity extends LiveActivity { }); getDrawer(); - //侧边栏 - LiveNetManager.get(mContext) - .getCustomSidebarInfo(new com.yunbao.common.http.base.HttpCallback>() { - @Override - public void onSuccess(List data) { - customSidebarInfoModels = data; - } - @Override - public void onError(String error) { - ToastUtil.show(error); - } - }); } private void loadData(ViewGroup viewGroup, int currentItem) { @@ -912,7 +898,6 @@ public class LiveAudienceActivity extends LiveActivity { @Override public void onShow(BasePopupView popupView) { - customDrawerPopupView.initData(customSidebarInfoModels); } @Override @@ -1293,7 +1278,6 @@ public class LiveAudienceActivity extends LiveActivity { */ private List slideInfoModels = new ArrayList<>(); private List list = new ArrayList<>(); - private List customSidebarInfoModels = new ArrayList<>(); private void getDrawer() {