getText

@NonNull
fun getText(@StringRes resId: Int): @NonNull CharSequence

Return a localized, styled CharSequence from the application's package's default string table.

Parameters

resId

Resource id for the CharSequence text