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

Shivam Sethi

02/26/2021, 1:44 AM
In my Composable function I am not able to get reference to Context ? I saw we can use AmbeintContext.current in composables but still no recommendation appears when I type and after typing the whole reference it errors and says not found ?
a

Albert Chang

02/26/2021, 1:46 AM
It is renamed to
LocalContext.current
.
s

Shivam Sethi

02/26/2021, 1:51 AM
ah, thanks I was looking for it.
2 Views