public float getLastPercent() {
        final float oldPercent = mHeaderHeight == 0 ? 0 : mLastPos * 1f / mHeaderHeight;
        return oldPercent;
    }
Update current position before update the UI
ptr-lib/src/in/srain/cube/views/ptr/indicator/PtrIndicator.java