修复【直播间信件往下滑,信件界面会显示为空】

This commit is contained in:
zlzw 2024-01-11 16:10:17 +08:00
parent c6fb323c68
commit 7795317c14

View File

@ -77,10 +77,12 @@ public class LiveUserAnchorMailBoxPopDialog extends AbsDialogPopupWindow {
empty.setVisibility(View.GONE);
list.setVisibility(View.VISIBLE);
return JSON.parseArray(Arrays.toString(info), LiveUserMailBoxModel.class);
} else {
} else if (adapter.getList().size() == 0) {
empty.setVisibility(VISIBLE);
list.setVisibility(GONE);
return new ArrayList<LiveUserMailBoxModel>();
}else{
return new ArrayList<>();
}
} else {