Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- 1. While developing a View, I need to create a Mediator for it.
- 2. When dispatching Events from a View, I follow the View naming pattern. So "PhoneView" dispatches a "PhoneViewEvent" and has a "PhoneViewMediator".
- 3. Most Views (not controls) that dispatch events are typically handled by their Mediator. As such, the addViewListener should already be pre-generated inside of the Mediator to handle these user gestures.
Advertisement
Add Comment
Please, Sign In to add comment