Merge remote-tracking branch 'origin/新改版_poyo' into 新改版_poyo
# Conflicts: # config.gradle
This commit is contained in:
commit
1b85806f81
@ -22,7 +22,27 @@ public class LivePkBean {
|
||||
private int levelAnchor;
|
||||
private int sex;
|
||||
private String attention;
|
||||
private String pk_avatar_thumb;
|
||||
private String is_shengwang;
|
||||
|
||||
public String getPk_avatar_thumb() {
|
||||
if (pk_avatar_thumb == null) {
|
||||
pk_avatar_thumb = "0";
|
||||
}
|
||||
return pk_avatar_thumb;
|
||||
}
|
||||
|
||||
public String getIs_shengwang() {
|
||||
return is_shengwang;
|
||||
}
|
||||
|
||||
public void setIs_shengwang(String is_shengwang) {
|
||||
this.is_shengwang = is_shengwang;
|
||||
}
|
||||
|
||||
public void setPk_avatar_thumb(String pk_avatar_thumb) {
|
||||
this.pk_avatar_thumb = pk_avatar_thumb;
|
||||
}
|
||||
@JSONField(name = "isattention")
|
||||
public String getAttention() {
|
||||
if(StringUtil.isEmpty(attention)){
|
||||
|
@ -343,14 +343,16 @@ public class FreePkDialogFragment extends AbsDialogFragment implements View.OnCl
|
||||
userBean.setId(bean.getUid());
|
||||
userBean.setUserNiceName(bean.getUserNiceName());
|
||||
userBean.setAvatar(bean.getAvatar());
|
||||
if(bean.getPkUid().equals("0")||bean.getDrpkStatus().equals("0")){
|
||||
if(bean.getPk_avatar_thumb().equals("0")&&bean.getDrpkStatus().equals("0")){
|
||||
userBean.setPk(0);
|
||||
}else{
|
||||
userBean.setPk(1);
|
||||
}
|
||||
userBean.setAttention("1");
|
||||
if("1".equals(bean.getIs_shengwang())){
|
||||
list.add(userBean);
|
||||
}
|
||||
}
|
||||
return list;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user