fix:修复日榜周榜没有显示头像框的问题
This commit is contained in:
parent
c25de1d25e
commit
4ff3ae3269
@ -310,8 +310,12 @@ public class LiveUserMoreDialogFragment extends AbsDialogFragment implements Vie
|
|||||||
}
|
}
|
||||||
for (Object o : rank) {
|
for (Object o : rank) {
|
||||||
JSONObject item= (JSONObject) o;
|
JSONObject item= (JSONObject) o;
|
||||||
|
UserBean.DressBean dressBean=new UserBean.DressBean();
|
||||||
|
dressBean.setAvatar_frame(item.getString("dressHead"));
|
||||||
|
dressBean.setMedal("");
|
||||||
LiveUserRankBean bean=JSON.parseObject(item.getString("userinfo"),LiveUserRankBean.class);
|
LiveUserRankBean bean=JSON.parseObject(item.getString("userinfo"),LiveUserRankBean.class);
|
||||||
bean.setTotal(item.getLong("total"));
|
bean.setTotal(item.getLong("total"));
|
||||||
|
bean.setDress(dressBean);
|
||||||
data.add(bean);
|
data.add(bean);
|
||||||
}
|
}
|
||||||
if(data.size()==0){
|
if(data.size()==0){
|
||||||
|
Loading…
Reference in New Issue
Block a user