Composable Function

integerResource

Load an integer resource.

integerResource

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

Load an integer resource.

Parameters

id the resource identifier

Returns

the integer associated with the resource