コード例 #1
0
    @Override
    protected void onPostExecute(FetchUserTaskOutput output) {

      FinishedCallback callback = getFetchStatusesCallback(output.mCallbackHandle);
      if (callback != null) {
        callback.finished(output.mFetchResult, output.mUser);
        removeFetchStatusesCallback(callback);
      }

      super.onPostExecute(output);
    }
コード例 #2
0
    @Override
    protected void onPostExecute(ModifyStatusesTaskOutput output) {

      FinishedCallback callback = getModifyStatusesCallback(output.mCallbackHandle);
      if (callback != null) {
        callback.finished(output.mResult.mErrorMessage == null, output.mFeed, output.mValue);
        removeModifyStatusesCallback(callback);
      }

      super.onPostExecute(output);
    }