MountableCharSequence

Mountable CharSequence that is aware when the Text component using this CharSequence is mounted and unmounted.

See also

Properties

Link copied to clipboard
abstract val length: Int

Functions

Link copied to clipboard
open fun chars(): IntStream
Link copied to clipboard
open fun codePoints(): IntStream
Link copied to clipboard
abstract operator fun get(index: Int): Char
Link copied to clipboard
abstract fun onMount(parent: Drawable)

This will be called once the text component using this MountableCharSequence is mounted.

Link copied to clipboard
abstract fun onUnmount(parent: Drawable)

This will be called when the text component using MountableCharSequence is unmounted.

Link copied to clipboard
abstract fun subSequence(startIndex: Int, endIndex: Int): CharSequence