|
|
|
@ -66,17 +66,17 @@ public class ApplyListUtils {
|
|
|
|
//private final Api api;
|
|
|
|
//private final Api api;
|
|
|
|
public UserInfoBean.UserInfo userInfo;
|
|
|
|
public UserInfoBean.UserInfo userInfo;
|
|
|
|
|
|
|
|
|
|
|
|
private final List<ApplyListBean.ApplyList> datas;
|
|
|
|
private List<ApplyListBean.ApplyList> datas;
|
|
|
|
private final List<ApplyListReceiveBean.RowsBean> receiveDatas;
|
|
|
|
private List<ApplyListReceiveBean.RowsBean> receiveDatas;
|
|
|
|
private final List<ApplyListConferenceBean.RowsBean> conferenceDatas;
|
|
|
|
private List<ApplyListConferenceBean.RowsBean> conferenceDatas;
|
|
|
|
private final List<ApplyOrdinaryVisitBean.RowsBean> ordinaryVisiDatas;
|
|
|
|
private List<ApplyOrdinaryVisitBean.RowsBean> ordinaryVisiDatas;
|
|
|
|
private final List<ApplyTravelListBean.RowsBean> travelListDatas;
|
|
|
|
private List<ApplyTravelListBean.RowsBean> travelListDatas;
|
|
|
|
private final List<ApplyListVehicleBean.RowsBean> vehicleDatas;
|
|
|
|
private List<ApplyListVehicleBean.RowsBean> vehicleDatas;
|
|
|
|
private final List<ApplyListOtherTaskBean.RowsBean> otherTaskDatas;
|
|
|
|
private List<ApplyListOtherTaskBean.RowsBean> otherTaskDatas;
|
|
|
|
private final List<ApplyListTakeOutBean.RowsBean> takeOutDatas;
|
|
|
|
private List<ApplyListTakeOutBean.RowsBean> takeOutDatas;
|
|
|
|
private final List<GetRadioListBean.RowsBean> getRadioDates;
|
|
|
|
private List<GetRadioListBean.RowsBean> getRadioDates;
|
|
|
|
private final List<MyadviceBean.RowsBean> myadviceDatas;
|
|
|
|
private List<MyadviceBean.RowsBean> myadviceDatas;
|
|
|
|
private final List<BfwwBean.RowsBean> bfwwDatas;
|
|
|
|
private List<BfwwBean.RowsBean> bfwwDatas;
|
|
|
|
private ApplyListAdapter adapter;
|
|
|
|
private ApplyListAdapter adapter;
|
|
|
|
private ApplyReceiveAdapter receiveAdapter;
|
|
|
|
private ApplyReceiveAdapter receiveAdapter;
|
|
|
|
private ApplyConferenceAdapter conferenceAdapter;
|
|
|
|
private ApplyConferenceAdapter conferenceAdapter;
|
|
|
|
@ -117,7 +117,7 @@ public class ApplyListUtils {
|
|
|
|
private void init() {
|
|
|
|
private void init() {
|
|
|
|
|
|
|
|
|
|
|
|
userInfo = App.getInstance().getUserInfo();
|
|
|
|
userInfo = App.getInstance().getUserInfo();
|
|
|
|
final String listcode = builder.params.get("listcode");
|
|
|
|
String listcode = builder.params.get("listcode");
|
|
|
|
String proposerid = builder.params.get("proposerid");
|
|
|
|
String proposerid = builder.params.get("proposerid");
|
|
|
|
String times = builder.params.get("times");
|
|
|
|
String times = builder.params.get("times");
|
|
|
|
String timee = builder.params.get("timee");
|
|
|
|
String timee = builder.params.get("timee");
|
|
|
|
@ -133,6 +133,8 @@ public class ApplyListUtils {
|
|
|
|
request.add("departmentnameid",departmentnameid);
|
|
|
|
request.add("departmentnameid",departmentnameid);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
showLog("---------listcode--------");
|
|
|
|
|
|
|
|
showLog(listcode);
|
|
|
|
|
|
|
|
|
|
|
|
if (listcode.equals(Contans.LISTCODE.RECEIVEVISIT)) {
|
|
|
|
if (listcode.equals(Contans.LISTCODE.RECEIVEVISIT)) {
|
|
|
|
//获取接待来访详情列表
|
|
|
|
//获取接待来访详情列表
|
|
|
|
@ -207,6 +209,7 @@ public class ApplyListUtils {
|
|
|
|
ApplyListBean baseResult = GsonUtils.GsonToBean(result,ApplyListBean.class);
|
|
|
|
ApplyListBean baseResult = GsonUtils.GsonToBean(result,ApplyListBean.class);
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
|
|
|
|
showLog(String.valueOf(baseResult.getRows().size()));
|
|
|
|
datas.clear();
|
|
|
|
datas.clear();
|
|
|
|
datas.addAll(baseResult.getRows());
|
|
|
|
datas.addAll(baseResult.getRows());
|
|
|
|
setListAdapter(listcode);
|
|
|
|
setListAdapter(listcode);
|
|
|
|
@ -219,6 +222,7 @@ public class ApplyListUtils {
|
|
|
|
ApplyListBean baseResult = GsonUtils.GsonToBean(result,ApplyListBean.class);
|
|
|
|
ApplyListBean baseResult = GsonUtils.GsonToBean(result,ApplyListBean.class);
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
|
|
|
|
showLog(String.valueOf(baseResult.getRows().size()));
|
|
|
|
datas.clear();
|
|
|
|
datas.clear();
|
|
|
|
datas.addAll(baseResult.getRows());
|
|
|
|
datas.addAll(baseResult.getRows());
|
|
|
|
setListAdapter(listcode);
|
|
|
|
setListAdapter(listcode);
|
|
|
|
@ -238,6 +242,7 @@ public class ApplyListUtils {
|
|
|
|
ApplyListReceiveBean baseResult = GsonUtils.GsonToBean(jsonDecode,ApplyListReceiveBean.class);
|
|
|
|
ApplyListReceiveBean baseResult = GsonUtils.GsonToBean(jsonDecode,ApplyListReceiveBean.class);
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
|
|
|
|
showLog(String.valueOf(baseResult.getRows().size()));
|
|
|
|
receiveDatas.clear();
|
|
|
|
receiveDatas.clear();
|
|
|
|
receiveDatas.addAll(baseResult.getRows());
|
|
|
|
receiveDatas.addAll(baseResult.getRows());
|
|
|
|
setListAdapter(listcode);
|
|
|
|
setListAdapter(listcode);
|
|
|
|
@ -249,6 +254,8 @@ public class ApplyListUtils {
|
|
|
|
ApplyListConferenceBean baseResult = GsonUtils.GsonToBean(jsonDecode,ApplyListConferenceBean.class);
|
|
|
|
ApplyListConferenceBean baseResult = GsonUtils.GsonToBean(jsonDecode,ApplyListConferenceBean.class);
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
|
|
|
|
showLog("--------->>>-------");
|
|
|
|
|
|
|
|
showLog(String.valueOf(baseResult.getRows().size()));
|
|
|
|
conferenceDatas.clear();
|
|
|
|
conferenceDatas.clear();
|
|
|
|
conferenceDatas.addAll(baseResult.getRows());
|
|
|
|
conferenceDatas.addAll(baseResult.getRows());
|
|
|
|
setListAdapter(listcode);
|
|
|
|
setListAdapter(listcode);
|
|
|
|
@ -260,6 +267,7 @@ public class ApplyListUtils {
|
|
|
|
ApplyOrdinaryVisitBean baseResult = GsonUtils.GsonToBean(jsonDecode,ApplyOrdinaryVisitBean.class);
|
|
|
|
ApplyOrdinaryVisitBean baseResult = GsonUtils.GsonToBean(jsonDecode,ApplyOrdinaryVisitBean.class);
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
|
|
|
|
showLog(String.valueOf(baseResult.getRows().size()));
|
|
|
|
ordinaryVisiDatas.clear();
|
|
|
|
ordinaryVisiDatas.clear();
|
|
|
|
ordinaryVisiDatas.addAll(baseResult.getRows());
|
|
|
|
ordinaryVisiDatas.addAll(baseResult.getRows());
|
|
|
|
setListAdapter(listcode);
|
|
|
|
setListAdapter(listcode);
|
|
|
|
@ -271,6 +279,7 @@ public class ApplyListUtils {
|
|
|
|
ApplyTravelListBean baseResult = GsonUtils.GsonToBean(jsonDecode,ApplyTravelListBean.class);
|
|
|
|
ApplyTravelListBean baseResult = GsonUtils.GsonToBean(jsonDecode,ApplyTravelListBean.class);
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
|
|
|
|
showLog(String.valueOf(baseResult.getRows().size()));
|
|
|
|
travelListDatas.clear();
|
|
|
|
travelListDatas.clear();
|
|
|
|
travelListDatas.addAll(baseResult.getRows());
|
|
|
|
travelListDatas.addAll(baseResult.getRows());
|
|
|
|
setListAdapter(listcode);
|
|
|
|
setListAdapter(listcode);
|
|
|
|
@ -282,6 +291,7 @@ public class ApplyListUtils {
|
|
|
|
ApplyListVehicleBean baseResult = GsonUtils.GsonToBean(jsonDecode,ApplyListVehicleBean.class);
|
|
|
|
ApplyListVehicleBean baseResult = GsonUtils.GsonToBean(jsonDecode,ApplyListVehicleBean.class);
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
|
|
|
|
showLog(String.valueOf(baseResult.getRows().size()));
|
|
|
|
vehicleDatas.clear();
|
|
|
|
vehicleDatas.clear();
|
|
|
|
vehicleDatas.addAll(baseResult.getRows());
|
|
|
|
vehicleDatas.addAll(baseResult.getRows());
|
|
|
|
setListAdapter(listcode);
|
|
|
|
setListAdapter(listcode);
|
|
|
|
@ -293,6 +303,7 @@ public class ApplyListUtils {
|
|
|
|
ApplyListOtherTaskBean baseResult = GsonUtils.GsonToBean(jsonDecode,ApplyListOtherTaskBean.class);
|
|
|
|
ApplyListOtherTaskBean baseResult = GsonUtils.GsonToBean(jsonDecode,ApplyListOtherTaskBean.class);
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
|
|
|
|
showLog(String.valueOf(baseResult.getRows().size()));
|
|
|
|
otherTaskDatas.clear();
|
|
|
|
otherTaskDatas.clear();
|
|
|
|
otherTaskDatas.addAll(baseResult.getRows());
|
|
|
|
otherTaskDatas.addAll(baseResult.getRows());
|
|
|
|
setListAdapter(listcode);
|
|
|
|
setListAdapter(listcode);
|
|
|
|
@ -304,6 +315,7 @@ public class ApplyListUtils {
|
|
|
|
ApplyListTakeOutBean baseResult = GsonUtils.GsonToBean(jsonDecode,ApplyListTakeOutBean.class);
|
|
|
|
ApplyListTakeOutBean baseResult = GsonUtils.GsonToBean(jsonDecode,ApplyListTakeOutBean.class);
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
|
|
|
|
showLog(String.valueOf(baseResult.getRows().size()));
|
|
|
|
takeOutDatas.clear();
|
|
|
|
takeOutDatas.clear();
|
|
|
|
takeOutDatas.addAll(baseResult.getRows());
|
|
|
|
takeOutDatas.addAll(baseResult.getRows());
|
|
|
|
setListAdapter(listcode);
|
|
|
|
setListAdapter(listcode);
|
|
|
|
@ -315,6 +327,7 @@ public class ApplyListUtils {
|
|
|
|
ApplyListBean baseResult = GsonUtils.GsonToBean(jsonDecode,ApplyListBean.class);
|
|
|
|
ApplyListBean baseResult = GsonUtils.GsonToBean(jsonDecode,ApplyListBean.class);
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
|
|
|
|
showLog(String.valueOf(baseResult.getRows().size()));
|
|
|
|
datas.clear();
|
|
|
|
datas.clear();
|
|
|
|
datas.addAll(baseResult.getRows());
|
|
|
|
datas.addAll(baseResult.getRows());
|
|
|
|
setListAdapter(listcode);
|
|
|
|
setListAdapter(listcode);
|
|
|
|
@ -326,6 +339,7 @@ public class ApplyListUtils {
|
|
|
|
ApplyListBean baseResult = GsonUtils.GsonToBean(jsonDecode,ApplyListBean.class);
|
|
|
|
ApplyListBean baseResult = GsonUtils.GsonToBean(jsonDecode,ApplyListBean.class);
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
|
|
|
|
showLog(String.valueOf(baseResult.getRows().size()));
|
|
|
|
datas.clear();
|
|
|
|
datas.clear();
|
|
|
|
datas.addAll(baseResult.getRows());
|
|
|
|
datas.addAll(baseResult.getRows());
|
|
|
|
setListAdapter(listcode);
|
|
|
|
setListAdapter(listcode);
|
|
|
|
@ -337,6 +351,7 @@ public class ApplyListUtils {
|
|
|
|
MyadviceBean myadviceBean = GsonUtils.GsonToBean(jsonDecode,MyadviceBean.class);
|
|
|
|
MyadviceBean myadviceBean = GsonUtils.GsonToBean(jsonDecode,MyadviceBean.class);
|
|
|
|
if (myadviceBean != null) {
|
|
|
|
if (myadviceBean != null) {
|
|
|
|
if (!myadviceBean.getTotal().equals("0")) {
|
|
|
|
if (!myadviceBean.getTotal().equals("0")) {
|
|
|
|
|
|
|
|
showLog(String.valueOf(myadviceBean.getRows().size()));
|
|
|
|
myadviceDatas.clear();
|
|
|
|
myadviceDatas.clear();
|
|
|
|
myadviceDatas.addAll(myadviceBean.getRows());
|
|
|
|
myadviceDatas.addAll(myadviceBean.getRows());
|
|
|
|
setListAdapter(listcode);
|
|
|
|
setListAdapter(listcode);
|
|
|
|
@ -349,6 +364,7 @@ public class ApplyListUtils {
|
|
|
|
ApplyListBean baseResult = GsonUtils.GsonToBean(jsonDecode,ApplyListBean.class);
|
|
|
|
ApplyListBean baseResult = GsonUtils.GsonToBean(jsonDecode,ApplyListBean.class);
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (baseResult != null) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
if (!baseResult.getTotal().equals("0")) {
|
|
|
|
|
|
|
|
showLog(String.valueOf(baseResult.getRows().size()));
|
|
|
|
datas.clear();
|
|
|
|
datas.clear();
|
|
|
|
datas.addAll(baseResult.getRows());
|
|
|
|
datas.addAll(baseResult.getRows());
|
|
|
|
setListAdapter(listcode);
|
|
|
|
setListAdapter(listcode);
|
|
|
|
@ -688,7 +704,7 @@ public class ApplyListUtils {
|
|
|
|
*/
|
|
|
|
*/
|
|
|
|
private void setListAdapter(String listCode) {
|
|
|
|
private void setListAdapter(String listCode) {
|
|
|
|
|
|
|
|
|
|
|
|
if (listCode == Contans.LISTCODE.RECEIVEVISIT) {
|
|
|
|
if(listCode.equals(Contans.LISTCODE.RECEIVEVISIT)) {
|
|
|
|
|
|
|
|
|
|
|
|
if (receiveAdapter == null) {
|
|
|
|
if (receiveAdapter == null) {
|
|
|
|
receiveAdapter = new ApplyReceiveAdapter(builder.context, receiveDatas);
|
|
|
|
receiveAdapter = new ApplyReceiveAdapter(builder.context, receiveDatas);
|
|
|
|
@ -705,7 +721,7 @@ public class ApplyListUtils {
|
|
|
|
receiveAdapter.notifyDataSetChanged();
|
|
|
|
receiveAdapter.notifyDataSetChanged();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
} else if (listCode == Contans.LISTCODE.APPLYCONFERENCE) {
|
|
|
|
} else if (listCode.equals(Contans.LISTCODE.APPLYCONFERENCE)) {
|
|
|
|
if (conferenceAdapter == null) {
|
|
|
|
if (conferenceAdapter == null) {
|
|
|
|
conferenceAdapter = new ApplyConferenceAdapter(builder.context, conferenceDatas);
|
|
|
|
conferenceAdapter = new ApplyConferenceAdapter(builder.context, conferenceDatas);
|
|
|
|
builder.listView.setAdapter(conferenceAdapter);
|
|
|
|
builder.listView.setAdapter(conferenceAdapter);
|
|
|
|
@ -720,7 +736,7 @@ public class ApplyListUtils {
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
conferenceAdapter.notifyDataSetChanged();
|
|
|
|
conferenceAdapter.notifyDataSetChanged();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else if (listCode == Contans.LISTCODE.ORDINARYVISIT) {
|
|
|
|
} else if (listCode.equals(Contans.LISTCODE.ORDINARYVISIT)) {
|
|
|
|
if (ordinaryVisitAdapter == null) {
|
|
|
|
if (ordinaryVisitAdapter == null) {
|
|
|
|
ordinaryVisitAdapter = new ApplyOrdinaryVisitAdapter(builder.context, ordinaryVisiDatas);
|
|
|
|
ordinaryVisitAdapter = new ApplyOrdinaryVisitAdapter(builder.context, ordinaryVisiDatas);
|
|
|
|
builder.listView.setAdapter(ordinaryVisitAdapter);
|
|
|
|
builder.listView.setAdapter(ordinaryVisitAdapter);
|
|
|
|
@ -735,7 +751,7 @@ public class ApplyListUtils {
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
ordinaryVisitAdapter.notifyDataSetChanged();
|
|
|
|
ordinaryVisitAdapter.notifyDataSetChanged();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else if (listCode == Contans.LISTCODE.APPLYTRAVEL) {
|
|
|
|
} else if (listCode.equals(Contans.LISTCODE.APPLYTRAVEL)) {
|
|
|
|
|
|
|
|
|
|
|
|
if (travelAdapter == null) {
|
|
|
|
if (travelAdapter == null) {
|
|
|
|
travelAdapter = new ApplyTravelAdapter(builder.context, travelListDatas);
|
|
|
|
travelAdapter = new ApplyTravelAdapter(builder.context, travelListDatas);
|
|
|
|
@ -753,7 +769,7 @@ public class ApplyListUtils {
|
|
|
|
travelAdapter.notifyDataSetChanged();
|
|
|
|
travelAdapter.notifyDataSetChanged();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
} else if (listCode == Contans.LISTCODE.APPLYVEHICLE) {
|
|
|
|
} else if (listCode.equals(Contans.LISTCODE.APPLYVEHICLE)) {
|
|
|
|
if (vehicleAdapter == null) {
|
|
|
|
if (vehicleAdapter == null) {
|
|
|
|
vehicleAdapter = new ApplyVehicleAdapter(builder.context, vehicleDatas);
|
|
|
|
vehicleAdapter = new ApplyVehicleAdapter(builder.context, vehicleDatas);
|
|
|
|
builder.listView.setAdapter(vehicleAdapter);
|
|
|
|
builder.listView.setAdapter(vehicleAdapter);
|
|
|
|
@ -767,7 +783,7 @@ public class ApplyListUtils {
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
vehicleAdapter.notifyDataSetChanged();
|
|
|
|
vehicleAdapter.notifyDataSetChanged();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else if (listCode == Contans.LISTCODE.OTHERTASK) {
|
|
|
|
} else if (listCode.equals(Contans.LISTCODE.OTHERTASK)) {
|
|
|
|
if (otherTaskAdapter == null) {
|
|
|
|
if (otherTaskAdapter == null) {
|
|
|
|
otherTaskAdapter = new ApplyOtherTaskAdapter(builder.context, otherTaskDatas);
|
|
|
|
otherTaskAdapter = new ApplyOtherTaskAdapter(builder.context, otherTaskDatas);
|
|
|
|
builder.listView.setAdapter(otherTaskAdapter);
|
|
|
|
builder.listView.setAdapter(otherTaskAdapter);
|
|
|
|
@ -781,7 +797,7 @@ public class ApplyListUtils {
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
otherTaskAdapter.notifyDataSetChanged();
|
|
|
|
otherTaskAdapter.notifyDataSetChanged();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else if (listCode == Contans.LISTCODE.APPLYORDER) {
|
|
|
|
} else if (listCode.equals(Contans.LISTCODE.APPLYORDER)) {
|
|
|
|
if (takeOutadapter == null) {
|
|
|
|
if (takeOutadapter == null) {
|
|
|
|
takeOutadapter = new ApplyTakeOutAdapter(builder.context, takeOutDatas);
|
|
|
|
takeOutadapter = new ApplyTakeOutAdapter(builder.context, takeOutDatas);
|
|
|
|
builder.listView.setAdapter(takeOutadapter);
|
|
|
|
builder.listView.setAdapter(takeOutadapter);
|
|
|
|
@ -795,7 +811,7 @@ public class ApplyListUtils {
|
|
|
|
} else {
|
|
|
|
} else {
|
|
|
|
takeOutadapter.notifyDataSetChanged();
|
|
|
|
takeOutadapter.notifyDataSetChanged();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
} else if (listCode == Contans.LISTCODE.APPLYDINNER) {
|
|
|
|
} else if (listCode.equals(Contans.LISTCODE.APPLYDINNER)) {
|
|
|
|
|
|
|
|
|
|
|
|
if (applyDinnerListAdapter == null) {
|
|
|
|
if (applyDinnerListAdapter == null) {
|
|
|
|
applyDinnerListAdapter = new ApplyDinnerListAdapter(builder.context, datas);
|
|
|
|
applyDinnerListAdapter = new ApplyDinnerListAdapter(builder.context, datas);
|
|
|
|
@ -814,7 +830,7 @@ public class ApplyListUtils {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else if (listCode == Contans.LISTCODE.APPLYSUPPLIES) {
|
|
|
|
} else if (listCode.equals(Contans.LISTCODE.APPLYSUPPLIES)) {
|
|
|
|
if (adapter == null) {
|
|
|
|
if (adapter == null) {
|
|
|
|
adapter = new ApplyListAdapter(builder.context, datas);
|
|
|
|
adapter = new ApplyListAdapter(builder.context, datas);
|
|
|
|
builder.listView.setAdapter(adapter);
|
|
|
|
builder.listView.setAdapter(adapter);
|
|
|
|
@ -831,7 +847,7 @@ public class ApplyListUtils {
|
|
|
|
adapter.notifyDataSetChanged();
|
|
|
|
adapter.notifyDataSetChanged();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
} else if (listCode == Contans.LISTCODE.APPLYFACILITIES) {
|
|
|
|
} else if (listCode.equals(Contans.LISTCODE.APPLYFACILITIES)) {
|
|
|
|
|
|
|
|
|
|
|
|
if (adapter == null) {
|
|
|
|
if (adapter == null) {
|
|
|
|
adapter = new ApplyListAdapter(builder.context, datas);
|
|
|
|
adapter = new ApplyListAdapter(builder.context, datas);
|
|
|
|
@ -850,7 +866,7 @@ public class ApplyListUtils {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} else if (listCode == Contans.LISTCODE.APPLYSUGGESTION) {
|
|
|
|
} else if (listCode.equals(Contans.LISTCODE.APPLYSUGGESTION)) {
|
|
|
|
|
|
|
|
|
|
|
|
if (myadviceAdapter == null) {
|
|
|
|
if (myadviceAdapter == null) {
|
|
|
|
|
|
|
|
|
|
|
|
|