public RetError getBoyBangPictureList() { IParser parser = new PictureListParser(); Map<String, Object> params = new HashMap<String, Object>(); Result ret = ApiRequest.request(GET_BOY_PICTURE_LIST_URL, params, parser); if (ret.getStatus() == RetStatus.SUCC) { PictureList lists = (PictureList) ret.getData(); this.pictureList = lists.getPictureList(); return RetError.NONE; } else { return ret.getErr(); } }
public RetError loadMorePictureList() { IParser parser = new PictureListParser(); Map<String, Object> params = new HashMap<String, Object>(); params.put("publish_time", publish_time); Result ret = ApiRequest.request(LOAD_MORE_PICTURELIST_URL, params, parser); if (ret.getStatus() == RetStatus.SUCC) { PictureList lists = (PictureList) ret.getData(); this.pictureList = lists.getPictureList(); return RetError.NONE; } else { return ret.getErr(); } }
public RetError getPictureListMoreByUserID(int publicsher_user_id) { IParser parser = new PictureListParser(); Map<String, Object> params = new HashMap<String, Object>(); params.put("publish_time", publish_time); params.put("publicsher_user_id", publicsher_user_id); Result ret = ApiRequest.request(GET_PICTURELISTMOREBYUSERID, params, parser); if (ret.getStatus() == RetStatus.SUCC) { PictureList lists = (PictureList) ret.getData(); this.pictureList = lists.getPictureList(); return RetError.NONE; } else { return ret.getErr(); } }