stringResource
Functions summary
String |
@ComposableLoad a string resource. |
String |
@ComposableLoad a string resource with formatting. |
Functions
stringResource
Artifact: androidx.compose.ui:ui
@Composable
fun stringResource(id: @StringRes Int): String
Load a string resource.
| Returns | |
|---|---|
String |
the string data associated with the resource |
stringResource
Artifact: androidx.compose.ui:ui
@Composable
fun stringResource(id: @StringRes Int, vararg formatArgs: Any): String
Load a string resource with formatting.
| Returns | |
|---|---|
String |
the string data associated with the resource |