https://kotlinlang.org logo
#compose-desktop
Title
# compose-desktop
a

Arkadii Ivanov

07/24/2022, 11:58 AM
The new
LookaheadLayout
and
movableContentOf
are available in
1.2.0-alpha01-dev750
. They both are accessible from
commonMain
targeting Desktop and Android. It compiles just fine for Desktop, but the compilation fails for Android with:
Copy code
Unresolved reference: LookaheadLayout
Unresolved reference: movableContentOf
Is it not possible to use that yet? Why is it resolved in the IDE?
i

Igor Demin

07/24/2022, 12:37 PM
Use the latest Jetpack Compose as described here. The root common artifact
org.jetbrains.compose
currently points to the old version of Jetpack Compose, so you have Unresolved reference when run on Android (here are no such functions in this version). At the moment we update the version manually 1-3 times in 1-3 months. But I think, I know how to fix this issue. We should: • only rebase on the commit of Jetpack Compose, which was already released. • automate reading the latest published version of Jetpack Compose (it is hardcoded in the code) We’ll try to fix it in the near future.
🎉 1
a

Arkadii Ivanov

07/24/2022, 12:50 PM
Thanks, I will try!
7 Views