Open this page in the API Guide
Action.addActionToAdapter Method
Helper method to add the action to the appropriate action array based on which adapter is given, and the action.
This method is static.
Parameters
- adapter
-
Type: Adapter
The adapter to add the action to.
- action
-
Type: Action
The action to add.