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

Nat Strangerweather

12/13/2020, 5:26 PM
I'm testing this part of the documentation: https://developer.android.com/jetpack/compose/state#stateless-composables The problem is that
observeAsState
comes up as Unresolved Reference. Any ideas? I tried importing
import androidx.compose.runtime.livedata.observeAsState
but
livedata
is Unresolved...
a

Adam Powell

12/13/2020, 6:03 PM
n

Nat Strangerweather

12/13/2020, 6:03 PM
No, ok that's the explanation, thanks!
👍 2
4 Views