public void setPullLabel(String pullLabel, Mode mode) { super.setPullLabel(pullLabel, mode); if (null != mHeaderLoadingView && mode.canPullDown()) { mHeaderLoadingView.setPullLabel(pullLabel); } if (null != mFooterLoadingView && mode.canPullUp()) { mFooterLoadingView.setPullLabel(pullLabel); } }
public void setPullLabel(String pullLabel) { super.setPullLabel(pullLabel); if (null != mHeaderLoadingView) { mHeaderLoadingView.setPullLabel(pullLabel); } if (null != mFooterLoadingView) { mFooterLoadingView.setPullLabel(pullLabel); } }