Package-level declarations

Functions

Link copied to clipboard
fun TextView.injectPanguText(injectHint: Boolean = true, config: PanguTextConfig = PanguText.globalConfig)

Inject PanguText to the current text content once.

Link copied to clipboard
fun TextView.injectRealTimePanguText(injectHint: Boolean = true, config: PanguTextConfig = PanguText.globalConfig)

Inject PanguText to the current text content in real time.

Link copied to clipboard
fun PanguTextConfig(copyFromGlobal: Boolean = true, body: PanguTextConfig.() -> Unit): <Error class: unknown class>

Create a new instance of PanguTextConfig.

Link copied to clipboard
fun TextView.setHintWithPangu(text: CharSequence?, config: PanguTextConfig = PanguText.globalConfig)

Use PanguText.format to format the hint text content.

Link copied to clipboard
fun TextView.setTextWithPangu(text: CharSequence?, config: PanguTextConfig = PanguText.globalConfig)

Use PanguText.format to format the text content.