Replacement for native widget class. More...
Inherits AppCompatEditText.
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.
Public Member Functions | |
| void | setEditActionEnabled (final EditAction editAction, final boolean enabled) |
| Sets action that should be enabled/disabled in GDAppCompatEditText. More... | |
| 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.
| editAction | - action that should be enabled / disabled. |
| enabled | - pass true if given action should be enabled, pass false otherwise. |