コード例 #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
ファイル: Activity_login.java プロジェクト: xzm941012/taomi
 @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;
 }