integerResource

Composable Function

Android
@Composable
@ReadOnlyComposable
fun integerResource(@IntegerRes id: Int): Int

Load an integer resource.

Parameters

idthe resource identifier

Returns

the integer associated with the resource