apply

fun apply(config: TextUIConfig): TextUIConfig

Apply values in the given TextUIConfig into this.

Return

This TextUIConfig object that applied with given data.

Since

3.0.0

Parameters

config

A TextUIConfig to apply.


fun apply(context: Context, text: String): SpannableString

Apply values into given whole text.

Since

3.2.1

Parameters

text

A text to apply.