user1209216
user1209216

Reputation: 7914

RecyclerView - horizontal list with vertical scrolling

I need to display my list similar way as text with line break, with vertical scrolling. So, items should be arranged horizontally and when there's no more room for last item, it should be placed in the next row below. I tried with GridLayoutManager, but that's not what I want - it displays columns and I need to provide number of columns.

How can I create layout like this?

Upvotes: 0

Views: 116

Answers (1)

snachmsm
snachmsm

Reputation: 19223

consider using FlexboxLayout library and FlexboxLayoutManager desired to work with RecyclerView, looks like it solves exacly your case

Upvotes: 2

Related Questions