How can I access stringResource inside LaunchedEff...
# compose
a
How can I access stringResource inside LaunchedEffect block?
z
You can't call that function inside an effect because it's a composable. You can get the resource outside the effect using this function, or get the context from
LocalContext
and use the regular methods to load the resource in your effect.
👍 1
178 Views