block.setMarginTopOverride(0f); block.setMarginBottomOverride(result.getValue());
Style style = block.getStyle(); style.setMarginTopOverride(0f); style.setMarginBottomOverride(result.getValue());
    private static boolean collapseInBetweenAdjoining(Context c, Box block, CollapsableContent content, List adjoining) {        CollapsedMarginPair result = collapseAdjoining(content.getMarginToCollapse(), adjoining);        CachingContent parent = (CachingContent) c.getParentContent();        Content sibling = parent.getNextInFlowSibling(c, content);        if (sibling != null && sibling instanceof CollapsableContent) {            ((CollapsableContent) sibling).setMarginToCollapse(result);            return false;        } else {            block.setMarginTopOverride(0f);            block.setMarginBottomOverride(result.getValue());            return true;        }    }