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

Thiago

11/28/2020, 1:34 AM
The docs and other resources says that I can use the behavior in the image. But the compiler says no. Has changed the way to create a mutableStateOf remember? PS: I just downloaded the AS 4.2 Canary 16 and created a Compose project.
a

Adam Powell

11/28/2020, 1:49 AM
import androidx.compose.runtime.*
there's still an IDE bug where it doesn't suggest imports for the getValue/setValue extensions
👍 2
t

Thiago

11/28/2020, 2:20 AM
This is the trick. Thanks!
2 Views