TextOffsetOnTouchEvent
Text component should implement an event of this type in order to receive callback on what was the text offset when text was touched initially. This event is fired only when motion event action is ACTION_DOWN. An example of the correct usage is:
static void textOffsetOnTouchEvent(
ComponentContext c,
CharSequence text,
int textOffset) {
...
}
</pre>
Content copied to clipboard