Hi Team , Is it possible to use ConstraintLayout in Compose Multiplatofrm , i want to use for ios @etolstoy?
n
Nikita Lipsky
05/04/2023, 12:56 PM
ConstraintLayout is an androidx library outside of Jetpack Compose and is not ported to Compose Multiplatform yet.
v
vips
05/04/2023, 3:44 PM
can we get the list what is ported for now ?
n
Nikita Lipsky
05/04/2023, 8:34 PM
Jetpack Compose itself is fully ported (including ui, foundation, animation, material, material 3). Additional libraries from AndroidX on top of Compose are not (like androidx.navigation, androidx.paging, ConstraintLayout, Lifecycle including ViewModel)
a
ankur2037
07/18/2023, 1:11 PM
Do we have any plans to port ConstraintLayout as well? We are currently transitioning some of our existing Android Compose UI (backed by KMM buisness logic) to KMM Compose. The codebase extensively uses ConstraintLayout, and it appears we might have to rewrite substantial portions of our code to eliminate the dependency on ConstraintLayout. Any insights or alternatives would be greatly appreciated.
s
Shivam Kanodia
07/29/2023, 5:24 AM
@ankur2037 No way as of now to use ConstraintLayout in compose multi-platform, i myself did a lot of research as my native code was in compose but finally had to migrate my code to remove ConstraintLayout, please spend no more time in research and take the decision to migrate