private void updateIndicatorViewsVisibility() {
    if (null != mIndicatorIvTop) {
      if (!isRefreshing() && isReadyForPullStart()) {
        if (!mIndicatorIvTop.isVisible()) {
          mIndicatorIvTop.show();
        }
      } else {
        if (mIndicatorIvTop.isVisible()) {
          mIndicatorIvTop.hide();
        }
      }
    }

    if (null != mIndicatorIvBottom) {
      if (!isRefreshing() && isReadyForPullEnd()) {
        if (!mIndicatorIvBottom.isVisible()) {
          mIndicatorIvBottom.show();
        }
      } else {
        if (mIndicatorIvBottom.isVisible()) {
          mIndicatorIvBottom.hide();
        }
      }
    }
  }
  @Override
  protected void onReleaseToRefresh() {
    super.onReleaseToRefresh();

    if (getShowIndicatorInternal()) {
      switch (getCurrentMode()) {
        case PULL_FROM_END:
          mIndicatorIvBottom.releaseToRefresh();
          break;
        case PULL_FROM_START:
          mIndicatorIvTop.releaseToRefresh();
          break;
        default:
          // NO-OP
          break;
      }
    }
  }