https://kotlinlang.org logo
#compose
Title
# compose
r

romainguy

06/24/2020, 5:39 PM
I’ve just updated my demo for dev14, using the new ConstraintLayout DSL
👍 15
r

romainguy

06/24/2020, 6:04 PM
It’s a lot nicer yes
l

Leland Richardson [G]

06/24/2020, 6:38 PM
yeah i’m really happy with how the new API turned out.
👍 4
👍🏽 1
g

gildor

06/25/2020, 2:52 AM
I’m curious about new dsl, can refernce be used as tag directly:
Copy code
val text1 = createRefFor("text1")
Text("Text1", Modifier.tag(text1))
or even reference could be modifier itself
ahhh, I got it, reference is another lambda, it’s parrt of constraint set, not a part of layout body