Search code examples
listandroid-jetpack-composerow

How to implement something similar to FlowRow in JetpackCompose


I'm creating an Android App using Jetpack Compose. I'm stuck on the list of interests. When one item can't be placed in the first row it should go to the second row. I know there was something like FlowRow, but now it is depracated. Any way to do this now?enter image description here


Solution

  • You can find FlowRow it in the Accompanist utils for Jetpack Compose: FlowRow

    Update: If you are using Jetpack Compose version 1.4.0+ it has official FlowLayouts in androidx.compose.foundation.layout.* package. Here is the release info