Exemplo n.º 1
0
 @Override
 public void onPostExecute(Result2 result) {
   mOwner.unregisterSelf();
   if (mOwner.mCancelled) {
     mOwner.onCancelled(result);
   } else {
     mOwner.onSuccess(result);
   }
 }
Exemplo n.º 2
0
 @Override
 public void onCancelled(Result2 result) {
   mOwner.unregisterSelf();
   mOwner.onCancelled(result);
 }