# stringArrayResource

## Functions summary

|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>` | `@https://developer.android.com/reference/kotlin/androidx/compose/runtime/Composable https://developer.android.com/reference/kotlin/androidx/compose/ui/res/stringArrayResource.composable#stringArrayResource(kotlin.Int)(id: @https://developer.android.com/reference/kotlin/androidx/annotation/ArrayRes https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html)` Load a string resource. |

## Functions

### stringArrayResource

Artifact: [androidx.compose.ui:ui](https://developer.android.com/jetpack/androidx/releases/compose-ui) [View Source](https://cs.android.com/search?q=file:androidx/compose/ui/res/StringResources.android.kt+function:stringArrayResource)

```
@Composable
fun stringArrayResource(id: @ArrayRes Int): Array<String>
```

Load a string resource.

| Parameters |
|---|---|
| `id: @https://developer.android.com/reference/kotlin/androidx/annotation/ArrayRes https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-int/index.html` | the resource identifier |

| Returns |
|---|---|
| `https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-array/index.html<https://kotlinlang.org/api/core/kotlin-stdlib/kotlin/-string/index.html>` | the string data associated with the resource |