public interface MountableCharSequence
extends java.lang.CharSequence
CharSequence
that is aware when the Text component using this CharSequence is
mounted and unmounted.TextSpec
Modifier and Type | Method and Description |
---|---|
void |
onMount(Drawable parent)
This will be called once the text component using this MountableCharSequence is mounted.
|
void |
onUnmount(Drawable parent)
This will be called when the text component using MountableCharSequence is unmounted.
|
void onMount(Drawable parent)
parent
- the parent drawable the char sequence is bound tovoid onUnmount(Drawable parent)
parent
- the parent drawable the CharSequence was mounted to