コード例 #1
0
  @Override
  protected void onReset() {
    super.onReset();
    cancelLoad();

    mData = null;
  }
コード例 #2
0
    @Override
    protected void onReset() {
      super.onReset();

      // Ensure the loader is stopped
      onStopLoading();
    }
コード例 #3
0
  @Override
  protected void onReset() {
    super.onReset();

    onStopLoading();
    isBookmarked = null;

    LocalBroadcastManager lbm = LocalBroadcastManager.getInstance(getContext());
    lbm.unregisterReceiver(addBookmarkReceiver);
    lbm.unregisterReceiver(removeBookmarksReceiver);
  }
コード例 #4
0
ファイル: ViewApkLoader.java プロジェクト: j-pac/web_install
  @Override
  protected void onReset() {
    super.onReset();

    // Ensure the loader is stopped
    onStopLoading();

    //        if (mCursor != null && !mCursor.isClosed()) {
    //            mCursor.close();
    //        }
    mCursor = null;
  }
コード例 #5
0
  @Override
  protected void onReset() {
    super.onReset();

    onStopLoading();

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

    // TODO: Stop monitoring for changes
  }
コード例 #6
0
  /** 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;
    }
  }
コード例 #7
0
  /** 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;
    }
  }
コード例 #8
0
ファイル: StatsLoader.java プロジェクト: niojuju/ibrdtn-1
  @Override
  protected void onReset() {
    super.onReset();

    onStopLoading();

    onReleaseResources(mData);
    mData = null;

    if (mStarted) {
      // unregister from intent receiver
      getContext().unregisterReceiver(_receiver);
      mStarted = false;
    }
  }
コード例 #9
0
  /** 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();
  }
コード例 #10
0
ファイル: DataItemLoader.java プロジェクト: arnoid/test
 @Override
 protected void onReset() {
   super.onReset();
   mCachedDataItemWeakReference = null;
 }