@Override
 protected void onDetachedFromWindow() {
   super.onDetachedFromWindow();
   if (mLastUpdateTimeUpdater != null) {
     mLastUpdateTimeUpdater.stop();
   }
 }
  @Override
  public void onUIRefreshBegin(PtrFrameLayout frame) {
    mShouldShowLastUpdate = false;
    hideRotateView();
    mProgressBar.setVisibility(VISIBLE);
    mTitleTextView.setVisibility(VISIBLE);
    mTitleTextView.setText(R.string.cube_ptr_refreshing);

    tryUpdateLastUpdateTime();
    mLastUpdateTimeUpdater.stop();
  }