seb
12/08/2020, 4:00 PMmutableState
doesn’t have a get()
and thus cannot be used as a delegate. Code copied from the official samples. Weirdest part is, it works with the code samples, same IDE, Kotlin version, CfD version. I suspect it may be some Kotlin compiler plugin in my build interfering — I already had to remove kotlinx.serialization as its compiler plugin would just crash with NPEs as soon as I added @Serializable
to literally any class. Maybe it’s coroutines? Will do some further testing, was mostly wondering whether there’s any known compat issuesAdam Powell
12/08/2020, 4:01 PMimport androidx.compose.runtime.getValue
and setValue
Adam Powell
12/08/2020, 4:03 PMAdam Powell
12/08/2020, 4:03 PMolonho
12/08/2020, 4:22 PMColton Idle
12/08/2020, 8:03 PMAdam Powell
12/08/2020, 10:31 PMseb
12/09/2020, 3:00 PMseb
12/09/2020, 3:00 PMseb
12/10/2020, 2:08 PMseb
12/10/2020, 2:09 PM