On Text Selection Change Listener
interface OnTextSelectionChangeListener
Listener for text selection changes.
Functions
Link copied to clipboard
abstract fun onAfterTextSelectionChange(@Nullable newTextSelection: TextSelection, @Nullable oldTextSelection: TextSelection)
Called once the text selection has successfully been changed.
Link copied to clipboard
abstract fun onBeforeTextSelectionChange(@Nullable newTextSelection: TextSelection, @Nullable currentTextSelection: TextSelection): Boolean
Called every time the text selection is about to be changed.