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

Roar Gronmo

12/06/2019, 1:43 PM
I got this one today, when "converting" from dev02 to dev03:
Copy code
Overload resolution ambiguity. All these functions match.
public fun Size(width: Dp, height: Dp): LayoutModifier defined in androidx.ui.layout
public inline fun Size(width: Dp, height: Dp): Size defined in androidx.ui.core
is this actually the same function ?
Apparently not...
androidx.ui.layout.Size
is the correct one... ?
a

Adam Powell

12/06/2019, 3:07 PM
dev03 is a snapshot midway through a lot of changes, the layout modifiers are already going through some additional namespace changes that resolve some things like this
r

Roar Gronmo

12/06/2019, 3:28 PM
okei