pocmo / recompose

recompose is a tool for converting Android layouts in XML to Kotlin code using Jetpack Compose.
Apache License 2.0
783 stars 49 forks source link

Add support for RecyclerView #90

Open pocmo opened 3 years ago

pocmo commented 3 years ago

XML: https://developer.android.com/reference/androidx/recyclerview/widget/RecyclerView

I'm not sure what a good Composable replacement for it is and whether the conversion will be straight-forward?

Vahalaru commented 2 years ago

The Compose compatible to Recyclerview is Lazyrow and lazy column. Those two composables are one of the main reason I'm writing my next app with compose.

Ditscheridou commented 2 years ago

this will be not straight forward data wise, but layout wise it should be pretty much straight forward, since you are have to provide an item layout that can also be transformed.