public float getCurrentPercent() {
        final float currentPercent = mHeaderHeight == 0 ? 0 : mCurrentPos * 1f / mHeaderHeight;
        return currentPercent;
    }
Update current position before update the UI
common/src/main/java/com/sxjs/common/widget/pulltorefresh/indicator/PtrIndicator.java