Name | Date | Size | #Lines | LOC | ||
---|---|---|---|---|---|---|
.. | - | - | ||||
api/ | H | 25-Apr-2025 | - | 37 | 30 | |
src/ | H | 25-Apr-2025 | - | 2,907 | 2,492 | |
README.md | H A D | 25-Apr-2025 | 1.4 KiB | 42 | 28 | |
build.gradle.kts | H A D | 25-Apr-2025 | 3.5 KiB | 126 | 81 | |
gradle.properties | H A D | 25-Apr-2025 | 96 | 3 | 3 |
README.md
1# Jetpack Compose Flow Layouts 2 3[](https://search.maven.org/search?q=g:com.google.accompanist) 4 5> :warning: This library has been deprecated as official support is now available in Compose 1.4.0. Please see our [Migration Guide](https://google.github.io/accompanist/flowlayout/) for how to migrate. 6 7Flow layouts adapted from the [Jetpack Compose][compose] alpha versions. 8 9Unlike the standard Row and Column composables, these lay out children in multiple rows/columns if they exceed the available space. 10 11## Usage 12 13``` kotlin 14FlowRow { 15 // row contents 16} 17 18FlowColumn { 19 // column contents 20} 21``` 22 23For examples, refer to the [samples](https://github.com/google/accompanist/tree/main/sample/src/main/java/com/google/accompanist/sample/flowlayout). 24 25For more information, visit the documentation: https://google.github.io/accompanist/flowlayout 26 27## Download 28 29```groovy 30repositories { 31 mavenCentral() 32} 33 34dependencies { 35 implementation "com.google.accompanist:accompanist-flowlayout:<version>" 36} 37``` 38 39Snapshots of the development version are available in [Sonatype's `snapshots` repository][snap]. These are updated on every commit. 40 41[compose]: https://developer.android.com/jetpack/compose 42[snap]: https://oss.sonatype.org/content/repositories/snapshots/com/google/accompanist/accompanist-flowlayout/