コード例 #1
0
 @Override
 protected void onPostExecute(ResultType result) {
   activity.setBusy(false);
   if (exception == null) {
     handleResult(result);
   } else {
     handleError(exception);
   }
 }
コード例 #2
0
 protected void handleError(Exception exception) {
   activity.showError(exception);
 }
コード例 #3
0
 @Override
 protected void onPreExecute() {
   activity.setBusy(true);
 }