예제 #1
0
 @Override
 public void onPostExecute(DeckTask.TaskData result) {
   if (!result.getBoolean()) {
     closeCardBrowser(DeckPicker.RESULT_DB_ERROR);
   }
   mProgressDialog.dismiss();
 }
예제 #2
0
 @Override
 public void onPostExecute(DeckTask.TaskData result) {
   if (result.getBoolean()) {
     updateCardInList(
         mCol.getCard(Long.parseLong(mCards.get(mPositionInCardsList).get("id"))));
   } else {
     closeCardBrowser(DeckPicker.RESULT_DB_ERROR);
   }
   mProgressDialog.dismiss();
 }