Weird thing I noticed: I can’t import both `LazyLi...
# compose
r
Weird thing I noticed: I can’t import both
LazyListScope.items
and
LazyGridScope.items
. I’m not sure if that’s intentional or if I’m meant to alias them somehow.
i
FWIW, Kotlin supports import aliases by using the
as
keyword: https://kotlinlang.org/docs/packages.html#imports
r
There’s just no way for me to distinguish them from an import perspective since they have the same signature and top-level functions are not distinguished by receiver
i
one is
androidx.compose.foundation.lazy
and one is in
androidx.compose.foundation.lazy.grid
, are they not?
r
They’re both in
.lazy
What version are you using?
r
1.1.1
haven’t bumped the version yet since it requires a kotlin version bump that we haven’t validated for our project
i
Yeah, those APIs became stable and moved to the
.grid
folder in Compose 1.2
r
gotcha, I’ll try for an upgrade then to solve the problem