private boolean hasDividerBeforeChildAtAlongMainAxis(int childAbsoluteIndex,
            int childRelativeIndexInFlexLine) {
        if (allViewsAreGoneBefore(childAbsoluteIndex, childRelativeIndexInFlexLine)) {
            if (isMainAxisDirectionHorizontal(mFlexDirection)) {
                return (mShowDividerVertical & SHOW_DIVIDER_BEGINNING) != 0;
            } else {
                return (mShowDividerHorizontal & SHOW_DIVIDER_BEGINNING) != 0;
            }
        } else {
            if (isMainAxisDirectionHorizontal(mFlexDirection)) {
                return (mShowDividerVertical & SHOW_DIVIDER_MIDDLE) != 0;
            } else {
                return (mShowDividerHorizontal & SHOW_DIVIDER_MIDDLE) != 0;
            }
        }
    }
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