Android FlexboxLayoutManager use

// Select two 
FlexboxLayoutManager managerTwo = new new FlexboxLayoutManager (getBaseActivity ()) { 
    @Override 
    public Boolean canScrollVertically () { 
        return to true; 
    } 
}; 
// set the spindle arrangement 
managerTwo.setFlexDirection (FlexDirection.ROW); 
// set whether wrap 
managerTwo.setFlexWrap (FlexWrap.WRAP); 
recyclerViewTwo.setLayoutManager (managerTwo);
Published 49 original articles · won praise 2 · Views 8598

Guess you like

Origin blog.csdn.net/yangjunjin/article/details/103732935