Home > Enterprise >  Adaptative row in jetpack compose
Adaptative row in jetpack compose

Time:01-07

I have this figma layout to do: Image here

I already have the chips layout done. Those chips shows a list of strings.

But I don't know how to get that adaptative row, that when the string are to big, the line break and keep showing in another line.

Can you guys help me please?

CodePudding user response:

Accompanist library has flow layouts that do exactly that: https://github.com/google/accompanist/tree/main/flowlayout

There are also similar flow layouts in the official compose foundation library that were just recently merged, but those are only available as snapshot builds for now.

  • Related