@Override protected void onPullToRefresh() { super.onPullToRefresh(); if (getShowIndicatorInternal()) { switch (getCurrentMode()) { case PULL_UP_TO_REFRESH: mIndicatorIvBottom.pullToRefresh(); break; case PULL_DOWN_TO_REFRESH: mIndicatorIvTop.pullToRefresh(); break; } } }
@Override protected void onPullToRefresh() { super.onPullToRefresh(); if (getShowIndicatorInternal()) { switch (getCurrentMode()) { case PULL_FROM_END: mIndicatorIvBottom.pullToRefresh(); break; case PULL_FROM_START: mIndicatorIvTop.pullToRefresh(); break; default: // NO-OP break; } } }