private boolean allViewsAreGoneBefore(int childAbsoluteIndex,
            int childRelativeIndexInFlexLine) {
        for (int i = 1; i <= childRelativeIndexInFlexLine; i++) {
            View view = getReorderedChildAt(childAbsoluteIndex - i);
            if (view != null && view.getVisibility() != View.GONE) {
                return false;
            }
        }
        return true;
    }
Check if a divider is needed before the view whose indices are passed as arguments.

@param childAbsoluteIndex           the absolute index of the view to be judged
@param childRelativeIndexInFlexLine the relative index in the flex line where the view
                                    belongs
@return {@code true} if a divider is needed, {@code false} otherwise
common/src/main/java/com/sxjs/common/widget/flexboxlayout/FlexboxLayout.java