StringResource

data class StringResource(val resourceId: Int, val arguments: List<Any> = emptyList()) : UiText(source)

Constructors

Link copied to clipboard
constructor(resourceId: Int, arguments: List<Any> = emptyList())

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard

Resolves text against the current composition configuration, including locale changes.

fun asString(context: Context): String

Resolves text using the supplied context and its current resource configuration.