Resource

data class Resource(val resource: StringResource, val args: List<Any> = emptyList()) : UiText(source)

A string resource, optionally with format arguments.

Constructors

Link copied to clipboard
constructor(resource: StringResource, args: List<Any> = emptyList())

Properties

Link copied to clipboard
val args: List<Any>
Link copied to clipboard
val resource: StringResource

Functions

Link copied to clipboard

Resolves this UiText against the current composition's resources.