侧边栏修改,直播关播页面BUg修改

This commit is contained in:
18401019693 2022-11-16 18:16:20 +08:00
parent 1d50f8e4f5
commit 8c11818b49
3 changed files with 8 additions and 2 deletions

View File

@ -96,6 +96,7 @@ public class CustomDrawerPopupAdapter extends RecyclerView.Adapter {
RecommendViewHolder recommendViewHolder = (RecommendViewHolder) holder;
recommendViewHolder.setData(infoModels.get(position));
recommendViewHolder.updateData(list);
recommendViewHolder.setListener(new RecommendViewHolder.RecommendViewListener() {
@Override
public void changeOneBatch() {

View File

@ -55,6 +55,11 @@ public class RecommendViewHolder extends RecyclerView.ViewHolder {
}
public void updateData(List<AnchorRecommendItemModel> list) {
if (list.size() == 0) {
itemView.setVisibility(View.GONE);
} else {
itemView.setVisibility(View.VISIBLE);
}
recommendAdapter.updateData(list);
}

View File

@ -10,9 +10,9 @@ ext {
manifestPlaceholders = [
//
serverHost : "https://napi.yaoulive.com",
// serverHost : "https://napi.yaoulive.com",
//
// serverHost : "https://ceshi.yaoulive.com",
serverHost : "https://ceshi.yaoulive.com",
//
txMapAppKey : "EOZBZ-ASLCU-4XPV3-BDCHZ-4E3Q7-H4BWB",