Composable Function

booleanResource

Load a boolean resource.

booleanResource

Source set: Android
@Composable
public fun booleanResource(@BoolRes id: Int): Boolean

Load a boolean resource.

Parameters

id the resource identifier

Return

the boolean 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: