Class TextSelectionToolbar

  • All Implemented Interfaces:
    android.graphics.drawable.Drawable.Callback , android.view.KeyEvent.Callback , android.view.View.OnClickListener , android.view.View.OnLongClickListener , android.view.ViewManager , android.view.ViewParent , android.view.accessibility.AccessibilityEventSource

    
    public class TextSelectionToolbar
    extends ContextualToolbar<T>
                        

    Toolbar displayed on text selection.

    • Constructor Detail

      • TextSelectionToolbar

        TextSelectionToolbar(Context context)
      • TextSelectionToolbar

        TextSelectionToolbar(Context context, AttributeSet attrs, int defStyleAttr)
    • Method Detail

      • bindController

         void bindController(@NonNull() TextSelectionController controller)

        Binds controller for managing text selection mode.

        Parameters:
        controller - Text selection controller provided when entering text selection mode.
      • unbindController

         void unbindController()

        Unbinds controller for managing text selection mode.

      • isControllerBound

         boolean isControllerBound()

        Returns true if the controller is bound.