setTextResource

open fun setTextResource(@StringRes id: Int)

Sets the text to be displayed using a string resource identifier.

Parameters

id

the resource identifier of the string resource to be displayed

See also

setText(CharSequence)