StringResource

constructor(@StringRes resourceId: Int, vararg args: Any)

Parameters

resourceId

The ID of the string resource (e.g., R.string.my_string).

args

The optional format arguments to be used for substitution in the string resource.