• BlackBerry Dynamics
  • Runtime library for Android applications
  • 14.1.8215.34
GDAppCompatEditText Class Reference

Replacement for native widget class. More...

Inherits AppCompatEditText.

Description

This class is a replacement for the native androidx.appcompat.widget.AppCompatEditText class. BlackBerry Dynamics applications must utilize this class instead of the native class in order to enable secure cut-copy-paste operations.

This class has the same programming interface as the native class.

See also
androidx.appcompat.widget.AppCompatEditText on the android.com developer website.
com.good.gd.widget package reference for details of secure cut-copy-paste operations.

Public Member Functions

void setEditActionEnabled (final EditAction editAction, final boolean enabled)
 Sets action that should be enabled/disabled in GDAppCompatEditText. More...
 

Member Function Documentation

◆ setEditActionEnabled()

void setEditActionEnabled ( final EditAction  editAction,
final boolean  enabled 
)

If action is disabled user still will be able to choose corresponding context menu item but actual operation will not be performed. For instance, if user will choose "Copy" option from context menu of GDAppCompatEditText text data will not be copied to clipboard.

Parameters
editAction- action that should be enabled / disabled.
enabled- pass true if given action should be enabled, pass false otherwise.