Exemplo n.º 1
0
  @Override
  protected void onReset() {
    super.onReset();
    cancelLoad();

    mData = null;
  }
    @Override
    protected void onReset() {
      super.onReset();

      // Ensure the loader is stopped
      onStopLoading();
    }
  @Override
  protected void onReset() {
    super.onReset();

    onStopLoading();
    isBookmarked = null;

    LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(getContext());
    lbm.unregisterReceiver(addBookmarkReceiver);
    lbm.unregisterReceiver(removeBookmarksReceiver);
  }
Exemplo n.º 4
0
  @Override
  protected void onReset() {
    super.onReset();

    // Ensure the loader is stopped
    onStopLoading();

    //        if (mCursor != null && !mCursor.isClosed()) {
    //            mCursor.close();
    //        }
    mCursor = null;
  }
Exemplo n.º 5
0
  @Override
  protected void onReset() {
    super.onReset();

    onStopLoading();

    if (mTorrentDetails != null) {
      onReleaseResources(mTorrentDetails);
    }

    // TODO: Stop monitoring for changes
  }
  /** Handles a request to completely reset the Loader. */
  @Override
  protected void onReset() {
    super.onReset();

    // Ensure the loader is stopped
    onStopLoading();

    // At this point we can release resources
    if (mData != null) {
      onReleaseResources(mData);
      mData = null;
    }
  }
  /** Handles a request to completely reset the Loader. */
  @Override
  protected void onReset() {
    super.onReset();

    // Ensure the loader is stopped
    onStopLoading();

    // At this point we can release the resources associated with 'apps'
    // if needed.
    if (mSeasonBanner != null) {
      onReleaseResources(mSeasonBanner);
      mSeasonBanner = null;
    }
  }
Exemplo n.º 8
0
  @Override
  protected void onReset() {
    super.onReset();

    onStopLoading();

    onReleaseResources(mData);
    mData = null;

    if (mStarted) {
      // unregister from intent receiver
      getContext().unregisterReceiver(_receiver);
      mStarted = false;
    }
  }
  /** Handles a request to completely reset the Loader. */
  @Override
  protected void onReset() {
    super.onReset();

    // Ensure the loader has been stopped.
    onStopLoading();

    // At this point we can release the resources associated with 'mData'.
    if (mData != null) {
      releaseResources(mData);
      mData = null;
    }

    // Stop monitoring for changes.
    onStopMonitoring();
  }
Exemplo n.º 10
0
 @Override
 protected void onReset() {
   super.onReset();
   mCachedDataItemWeakReference = null;
 }