Home > Mobile >  Android RecyclerView cloud can do the style of the label
Android RecyclerView cloud can do the style of the label

Time:12-05




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 know

CodePudding user response:

There are a great god know

CodePudding user response:

You can use FlowLayout, have online, inside addview can directly, he will be automatically arranged for a change

CodePudding user response:

FlowLayout, fluid layout

CodePudding user response:

New out FlexboxLayoutManager RecyclerView
Import 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
  • Related