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