textResource

abstract fun textResource(@StringRes resId: Int): CharSequence

Get the text from resId.

Return

CharSequence

Parameters

resId

the resource id.