Hello,
When using the MVP pattern, how should I display alerts or message
boxes prompting the user for information? For example, the user clicks
a button to add a new item and I prompt for the name. Where should
this prompt happen? In the View class? In the Presenter? The presenter
is where I have
what about:
1. user clicks "add new item"
2. presenter does onAddNewItem() and calls getView().showNamePrompt()
3. user types in the name to name prompt and click "save"
4. presenter does onSave() and calls getView().getName()
this keeps it separate yes?
On Jun 2, 1:46 pm, Spring wrote:
> Hello