Пример #1
0
 @Override
 protected School doInBackground(String... params) {
   School school1 = null;
   try {
     school1 = Manage.viewSchoolUserIdList(school, qinshi);
   } catch (Exception e) {
     e.printStackTrace();
   }
   return school1;
 }
Пример #2
0
 @Override
 protected List doInBackground(String... params) {
   data = new ArrayList<>();
   try {
     data = Manage.viewSchoolList();
   } catch (Exception e) {
     e.printStackTrace();
   }
   data2 = data;
   return data;
 }
Пример #3
0
 @Override
 protected List<String> doInBackground(String... params) {
   String school = params[0];
   List<String> data1 = new ArrayList<>();
   try {
     data1 = Manage.viewQinshiList(school);
   } catch (Exception e) {
     e.printStackTrace();
   }
   return data1;
 }
Пример #4
0
 @Override
 protected User doInBackground(String... params) {
   User user = null;
   try {
     user =
         Manage.login(email.getText().toString().trim(), password.getText().toString().trim());
   } catch (Exception e) {
     e.printStackTrace();
   }
   return user;
 }