侧边栏任务领取问题修复
This commit is contained in:
parent
cab59a5f4a
commit
4481b102ef
@ -59,7 +59,7 @@ public class CustomDrawerPopupView extends DrawerPopupView {
|
||||
Bus.getOn(this);
|
||||
super.onCreate();
|
||||
initView();
|
||||
|
||||
initData(null);
|
||||
|
||||
}
|
||||
|
||||
|
@ -4,7 +4,7 @@ ext {
|
||||
buildToolsVersion: "28.0.3",
|
||||
minSdkVersion : 21,
|
||||
targetSdkVersion : 31,
|
||||
versionCode : 307,
|
||||
versionCode : 308,
|
||||
versionName : "6.4.5"
|
||||
]
|
||||
manifestPlaceholders = [
|
||||
|
@ -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<List<CustomSidebarInfoModel>>() {
|
||||
@Override
|
||||
public void onSuccess(List<CustomSidebarInfoModel> 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<SlideInfoModel> slideInfoModels = new ArrayList<>();
|
||||
private List<AnchorRecommendItemModel> list = new ArrayList<>();
|
||||
private List<CustomSidebarInfoModel> customSidebarInfoModels = new ArrayList<>();
|
||||
|
||||
private void getDrawer() {
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user