subscribe

public void subscribe(Action action, ActionMethod method)

Subscribe a method to an action.

Parameters

action

The action to subscribe to

method

The method to subscribe