@Override public void onPostExecute(Result2 result) { mOwner.unregisterSelf(); if (mOwner.mCancelled) { mOwner.onCancelled(result); } else { mOwner.onSuccess(result); } }
@Override public void onCancelled(Result2 result) { mOwner.unregisterSelf(); mOwner.onCancelled(result); }