Attempting the Jetpack Compose Layouts Demo <https://developer.android.com/codelabs/jetpack-compose-...
l
Attempting the Jetpack Compose Layouts Demo https://developer.android.com/codelabs/jetpack-compose-layouts?continue=https%3A%2F%2Fd[…]developer.android.com%2Fcodelabs%2Fjetpack-compose-layouts. Anyone know what to use instead of
Copy code
Layout(
        modifier = modifier,
        children = children
    ) { measurables, constraints ->
       ...
    }
My Android Studio (on Compose alpha 9) is saying that API isn't available.
a
Likely that
children
parameters have been uniformly renamed to
content
l
I did try that, but now it's asking for
measureContent
and that's not in the demo at all...
Weird. It's working after I copy pasted from their finalized source.
Thanks for the help though!
You're right, it was the
children
vs.
content
issue
👍 1