title: Disabling SwipeRefreshLayout resets the layout
body: <p>In a recent update of the android support library disabling the SwipeRefreshLayout also resets the layout whereas it didn't use to before.</p>
  
  <pre><code>void reset() {
      mCircleView.clearAnimation();
      mProgress.stop();
      mCircleView.setVisibility(View.GONE);
      setColorViewAlpha(MAX_ALPHA);
      // Return the circle to its start position
      if (mScale) {
          setAnimationProgress(0 /* animation complete and view is hidden */);
      } else {
          setTargetOffsetTopAndBottom(mOriginalOffsetTop - mCurrentTargetOffsetTop,
                  true /* requires update */);
      }
      mCurrentTargetOffsetTop = mCircleView.getTop();
  }
  
  @Override
  public void setEnabled(boolean enabled) {
      super.setEnabled(enabled);
      if (!enabled) {
          reset();
      }
  }
  </code></pre>
  
  <p>I don't want <code>reset</code> being called when I disable the layout, but I can't find a straightforward way of doing it. I thought of extending the <code>SwipeRefreshLayout</code> class and overriding <code>setEnabled</code> but I can't access the grandparent class' <code>setEnabled</code> that way. Is there a way around this?</p>