setPrecomputedTextFuture

fun AppCompatTextView.setPrecomputedTextFuture(charSequence: CharSequence?, executor: Executor? = null)

Sets the precomputed text future on the AppCompatTextView.

Parameters

charSequence

the text to be displayed. Precomputed text future is not set if null is passed in.

executor

the executor to be used for processing the text layout. Default single threaded pool will be used if null is passed in.