Luis Daivid
11/24/2021, 4:49 AM// xml
<androidx.constraintlayout.widget.ConstraintLayout>
<androidx.compose.ui.platform.ComposeView
android:layout_width="match_parent"
android:layout_height="match_parent"
app:layout_constraintTop_toTopOf="parent" />
</androidx.constraintlayout.widget.ConstraintLayout>
// compose
setContent {
LazyColumn(modifier = Modifier.fillMaxWidth()) {
items(150) { Text(text = "hello $it" )
}
}
However, the scrolling operation does not work well unlike the existing android ui code.