Text Selection Manager
interface TextSelectionManager
Interface for objects that manage a list of text selection listener instances.
Inheritors
Types
Link copied to clipboard
interface OnTextSelectionChangeListener
Listener for text selection changes.
Link copied to clipboard
interface OnTextSelectionModeChangeListener
Listener for entering and exiting text selection mode.
Functions
Link copied to clipboard
abstract fun addOnTextSelectionChangeListener(@NonNull listener: TextSelectionManager.OnTextSelectionChangeListener)
Adds a OnTextSelectionChangeListener, which gets notified when text selection changes in the document, such as different text is selected.
Link copied to clipboard
abstract fun addOnTextSelectionModeChangeListener(@NonNull listener: TextSelectionManager.OnTextSelectionModeChangeListener)
Adds a OnTextSelectionModeChangeListener, which gets notified when entering and exiting a text selection in the document.
Link copied to clipboard
abstract fun removeOnTextSelectionChangeListener(@NonNull listener: TextSelectionManager.OnTextSelectionChangeListener)
Removes a OnTextSelectionChangeListener, which gets notified when text selection changes in the document, such as different text is selected.
Link copied to clipboard
abstract fun removeOnTextSelectionModeChangeListener(@NonNull listener: TextSelectionManager.OnTextSelectionModeChangeListener)
Removes a previously added OnTextSelectionModeChangeListener, which gets notified when entering and exiting a text selection in the document.