修复【直播间信件往下滑,信件界面会显示为空】
This commit is contained in:
parent
c6fb323c68
commit
7795317c14
@ -77,10 +77,12 @@ public class LiveUserAnchorMailBoxPopDialog extends AbsDialogPopupWindow {
|
|||||||
empty.setVisibility(View.GONE);
|
empty.setVisibility(View.GONE);
|
||||||
list.setVisibility(View.VISIBLE);
|
list.setVisibility(View.VISIBLE);
|
||||||
return JSON.parseArray(Arrays.toString(info), LiveUserMailBoxModel.class);
|
return JSON.parseArray(Arrays.toString(info), LiveUserMailBoxModel.class);
|
||||||
} else {
|
} else if (adapter.getList().size() == 0) {
|
||||||
empty.setVisibility(VISIBLE);
|
empty.setVisibility(VISIBLE);
|
||||||
list.setVisibility(GONE);
|
list.setVisibility(GONE);
|
||||||
return new ArrayList<LiveUserMailBoxModel>();
|
return new ArrayList<LiveUserMailBoxModel>();
|
||||||
|
}else{
|
||||||
|
return new ArrayList<>();
|
||||||
}
|
}
|
||||||
|
|
||||||
} else {
|
} else {
|
||||||
|
Loading…
Reference in New Issue
Block a user