stringResourceResolver
Configure how to resolve StringResource from a string key.
Example:
stringResourceResolver { key ->
when (key) {
"app_name" -> Res.string.app_name
"welcome" -> Res.string.welcome
else -> error("Unknown string resource: $key")
}
}Content copied to clipboard