Composable Function

integerResource

Load an integer resource.

integerResource

Source set: Android
@Composable
public fun integerResource(@IntegerRes id: Int): Int

Load an integer resource.

Parameters

id the resource identifier

Return

the integer associated with the resource

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: