public final void setCurrentPos(int current) {
        mLastPos = mCurrentPos;
        mCurrentPos = current;
        onUpdatePos(current, mLastPos);
    }
Update current position before update the UI
common/src/main/java/com/sxjs/common/widget/pulltorefresh/indicator/PtrIndicator.java