https://kotlinlang.org logo
#compose
Title
# compose
r

Rafal

11/13/2023, 8:00 AM
Hi 👋 Looking for some inspiration or guidelines how could I achieve a FlowRow-like behavior but with a maxLines settings and custom "more items" composable inside. I tried looking at Layout but since there are only a measurebles/placeables list, I'm not sure if I can add custom composable inside the layout block.
j

Jonas

11/13/2023, 8:18 AM
You can pass a list to Layouts contents parameter and measure / layout the components on there own. Like here in the JetLagged example.
👍 1
u

Uchenna Okoye

11/14/2023, 4:21 AM
We're actively investigating a maxLines implementation . Feel free to follow the bug: https://issuetracker.google.com/issues/293929268 for updates.
❤️ 2
2 Views