Esempio n. 1
0
 @Override
 protected void onDetachedFromWindow() {
   super.onDetachedFromWindow();
   if (mRenderScript != null) {
     mRenderScript.destroy();
   }
 }
Esempio n. 2
0
  @Override
  protected void onDetachedFromWindow() {
    super.onDetachedFromWindow();

    // Log.i(LOG_TAG, "Detaching...");

    if (mUnbind) unbindDrawables(this);
  }
Esempio n. 3
0
 @Override
 protected void onDetachedFromWindow() {
     super.onDetachedFromWindow();
     this.mFirstLayout = true;
     int n = this.mPostedRunnables.size();
     for (int i = 0; i < n; ++i) {
         this.mPostedRunnables.get(i).run();
     }
     this.mPostedRunnables.clear();
 }
  @Override
  protected void onDetachedFromWindow() {
    super.onDetachedFromWindow();
    if (mScrollChecker != null) {
      mScrollChecker.destroy();
    }

    if (mPerformRefreshCompleteDelay != null) {
      removeCallbacks(mPerformRefreshCompleteDelay);
    }
  }
 public void onDetachedFromWindow()
 {
   super.onDetachedFromWindow();
   e();
   if ((u) && (t != null)) {
     getViewTreeObserver().removeOnPreDrawListener(t);
   }
   if (s != null) {
     onStopNestedScroll(s);
   }
   o = false;
 }
 @Override
 protected void onDetachedFromWindow() {
   super.onDetachedFromWindow();
   ActivityChooserModel dataModel = mAdapter.getDataModel();
   if (dataModel != null) {
     try {
       dataModel.unregisterObserver(mModelDataSetOberver);
     } catch (IllegalStateException e) {
       // Oh, well... fixes issue #557
     }
   }
   ViewTreeObserver viewTreeObserver = getViewTreeObserver();
   if (viewTreeObserver.isAlive()) {
     viewTreeObserver.removeGlobalOnLayoutListener(mOnGlobalLayoutListener);
   }
   mIsAttachedToWindow = false;
 }
 @Override
 protected void onDetachedFromWindow() {
   currentList = null;
   channelDataSource = null;
   super.onDetachedFromWindow();
 }
 @Override
 public void onDetachedFromWindow() {
   super.onDetachedFromWindow();
   removeCallbacks(mReturnToStartPosition);
   removeCallbacks(mCancel);
 }
 @Override
 protected void onDetachedFromWindow() {
   super.onDetachedFromWindow();
   removeCallbacks(mSelectionNotifier);
 }
Esempio n. 10
0
 protected void onDetachedFromWindow() {
     super.onDetachedFromWindow();
     removeCallbacks(this.L);
 }
 @Override
 protected void onDetachedFromWindow() {
   super.onDetachedFromWindow();
   mFirstLayout = true;
 }
 @Override
 protected void onDetachedFromWindow() {
   getViewTreeObserver().removeOnScrollChangedListener(mScrollChangedListener);
   super.onDetachedFromWindow();
 }
Esempio n. 13
0
 @Override
 protected void onDetachedFromWindow() {
   mVelocityTracker.recycle();
   super.onDetachedFromWindow();
 }