How to make multi-line horizontal StaggeredGridLayoutManager using RecyclerView?

I have several tags and I want to place them so that the user can use them. (each brick has a tag in it)

enter image description here

The problem is that there can be many tags, and I cannot know in advance how many lines I need. How to implement this?

+4
source share
2 answers

Google new FlexboxLayoutManager is the answer.

+3
source

How to create a vertical RecyclerViewelement which is horizontalRecyclerView enter image description here

0
source

Source: https://habr.com/ru/post/1682403/


All Articles