个人中心广告位调整
This commit is contained in:
parent
5c0b5aabdb
commit
dbc62fa439
@ -54,6 +54,7 @@ public class UserBean implements Parcelable {
|
||||
private String token_rong = "";
|
||||
private String noble_end_time;
|
||||
private String slide;
|
||||
private String slide_pic;
|
||||
private String users_type;
|
||||
private String is_bind;
|
||||
private String mobile;
|
||||
@ -272,6 +273,14 @@ public class UserBean implements Parcelable {
|
||||
return slide;
|
||||
}
|
||||
|
||||
public String getSlide_pic() {
|
||||
return slide_pic;
|
||||
}
|
||||
|
||||
public void setSlide_pic(String slide_pic) {
|
||||
this.slide_pic = slide_pic;
|
||||
}
|
||||
|
||||
public void setSlide(String slide) {
|
||||
this.slide = slide;
|
||||
}
|
||||
|
@ -314,8 +314,8 @@ public class MainMeViewHolder extends AbsMainViewHolder implements OnItemClickLi
|
||||
private void showData(UserBean u, List<List<UserItemBean>> list) {
|
||||
mBannerList.clear();
|
||||
mBannerListNew.clear();
|
||||
if (!StringUtil.isEmpty(u.getSlide())) {
|
||||
mBannerListNew.addAll(JSON.parseArray(u.getSlide(), SlideBean.class));
|
||||
if (!StringUtil.isEmpty(u.getSlide_pic())) {
|
||||
mBannerListNew.addAll(JSON.parseArray(u.getSlide_pic(), SlideBean.class));
|
||||
for (SlideBean bean : mBannerListNew) {
|
||||
if (bean.getSlide_status().equals("1")) {
|
||||
mBannerList.add(bean);
|
||||
|
Loading…
Reference in New Issue
Block a user