Action.firstActionOnAdapter Method

Helper method to get the first action of a type on an adapter. This method will check the appropriate action array based on which adapter is given, and the type of the action.
 
 
Static This method is static.

Parameters

adapter

Type: Adapter
The adapter to check for the action of that type.
actionType

Type: ActionType
The type of action to check for.
relatedContextData

Type: RelatedContextData
(optional) The related context data.
Optional: True

Return Value


Type: Action - May be null
The found action, or null.