Пример #1
0
 @Override
 public void selectedData(String method, Filter mFilter) {
   if (method.equals(String.valueOf(CommonOptionData.SEX_KEY))) {
     curSexFilter = mFilter;
     String name = curSexFilter.getName();
     if (TextUtils.isEmpty(name) || "不限".equals(name)) {
       name = "性别";
       curSexFilter = null;
     }
     tvSexFilter.setText(name);
   } else if (method.equals(String.valueOf(CommonOptionData.EDUCATION_KEY))) {
     curEducationFilter = mFilter;
     String name = curEducationFilter.getName();
     if (TextUtils.isEmpty(name) || "不限".equals(name)) {
       name = "学历";
       curEducationFilter = null;
     }
     tvEducationFilter.setText(name);
   } else if (method.equals(String.valueOf(CommonOptionData.AGE_RANGE_KEY))) {
     curAgeFilter = mFilter;
     String name = curAgeFilter.getName();
     if (TextUtils.isEmpty(name) || "不限".equals(name)) {
       name = "年龄";
       curAgeFilter = null;
     }
     tvAgeFilter.setText(name);
   }
   mIndex = 1;
   onLoad();
 }
Пример #2
0
 @Override
 public void selectedData(String method, Filter mFilter) {
   if (method.equals("GetStoreNames")) {
     curStoreFilter = mFilter;
     tvStoreFilter.setText(curStoreFilter.getName());
   } else if (method.equals("GetJobNames")) {
     curJobFilter = mFilter;
     tvJobFilter.setText(curJobFilter.getName());
   }
   curPage = 1;
   reqJobList();
 }