Does anyone know whether you can use `Image` compo...
# compose
j
Does anyone know whether you can use
Image
composable when using new
Glance
API to create app wdiget?
Doing following for example and getting an exception
Copy code
Image(painterResource(R.drawable.ic_bike), contentDescription="Free bikes")
Copy code
java.lang.IllegalStateException: CompositionLocal LocalContext not present
nvm, my bad, was importing wrong
Image
class
😄 1
c
Looking forward to some people in space widget samples 😄
👍 2
j
I'm doing one at the moment for the BikeShare sample as that has info that's a tiny bit more useful in a widget like this. 😀
1