Jetpack Compose Flow Layouts¶
Flow layouts adapted from the versions which were available in Jetpack Compose until they were removed.
Unlike the standard Row
and Column
composables, these layout children across multiple rows/columns if they exceed the available space.
Usage¶
FlowRow {
// row contents
}
FlowColumn {
// column contents
}
For examples, refer to the samples.
Download¶
repositories {
mavenCentral()
}
dependencies {
implementation "com.google.accompanist:accompanist-flowlayout:<version>"
}
Snapshots of the development version are available in Sonatype's snapshots
repository. These are updated on every commit.