@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); }
@Override protected void onReset() { super.onReset(); // Ensure the loader is stopped onStopLoading(); // if (mCursor != null && !mCursor.isClosed()) { // mCursor.close(); // } mCursor = null; }
@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; } }
@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(); }
@Override protected void onReset() { super.onReset(); mCachedDataItemWeakReference = null; }