This kind of style, each row shows the label number is indefinite,
Just want to ask RecyclerView realization, as well as the implementation approach and other methods, I know, not to mention the
Understand RecyclerView great god grant instruction;
CodePudding user response:
Is there a great god knowCodePudding user response:
There are a great god knowCodePudding user response:
You can use FlowLayout, have online, inside addview can directly, he will be automatically arranged for a changeCodePudding user response:
FlowLayout, fluid layoutCodePudding user response:
New out FlexboxLayoutManager RecyclerViewImport in the project implementation 'com. Google. Android: flexbox: 1.1.0'
When using a line of code directly recyclerview. SetLayoutManager (new FlexboxLayoutManager (this));
Can realize the fluid layout