private boolean hasEndDividerAfterFlexLine(int flexLineIndex) {
        if (flexLineIndex < 0 || flexLineIndex >= mFlexLines.size()) {
            return false;
        }

        for (int i = flexLineIndex + 1; i < mFlexLines.size(); i++) {
            if (mFlexLines.get(i).getItemCountNotGone() > 0) {
                return false;
            }
        }
        if (isMainAxisDirectionHorizontal(mFlexDirection)) {
            return (mShowDividerHorizontal & SHOW_DIVIDER_END) != 0;
        } else {
            return (mShowDividerVertical & SHOW_DIVIDER_END) != 0;
        }

    }
Check if a end divider is needed after the flex line whose index is passed as an argument.

@param flexLineIndex the index of the flex line to be checked
@return {@code true} if a divider is needed, {@code false} otherwise
common/src/main/java/com/sxjs/common/widget/flexboxlayout/FlexboxLayout.java