Migrating from accompanist `FlowRow` to one in cor...
# compose
j
Migrating from accompanist
FlowRow
to one in core Compose....this is what I had previously. From https://android-developers.googleblog.com/2023/03/whats-new-in-jetpack-compose-march-23-release.html, it seems equivalent is now
horizontalArrangement = Arrangement.spacedBy(8.dp)
but with that I'm not see any vertical spacing.
Copy code
FlowRow(crossAxisSpacing = 8.dp) {
    session.tags.forEach { tag ->
        Chip(tag)
    }
}
b
WIP migration guide is here. Does that help? https://github.com/google/accompanist/pull/1494/files
j
thanks, looks like this is what I need
m
thanks, but the last row seems to also receive padding bottom, the idea is to give padding only between columns and rows
u
This will be fixed in the next alpha release: M7 alpha02
m
It is fixed in compose 1.5, currently in RC version
338 Views