resolvableString

fun resolvableString(@StringRes id: Int, vararg formatArgs: Any?, transformations: List<TransformOperation> = listOf()): ResolvableString

Creates a ResolvableString from a given identifier.

Return

a ResolvableString instance when resolved returns the string that matches the identifier.

Parameters

id

a string resource identifier

formatArgs

a variable amount of arguments to format the string with.


fun resolvableString(value: String, vararg formatArgs: Any?): ResolvableString

Creates a ResolvableString from a given string value.

Return

a ResolvableString instance when resolved returns the string value.

Parameters

value

a string value

formatArgs

a variable amount of arguments to format the string with.


Creates a ResolvableString from a given string value.


Creates a ResolvableString from a given string identifier.