The start view is a mandatory parameter of a Mvp4g module. You have to
define it thanks to either (for annotations):
@Events( startView = MainView.class...)
or (for XML):
<start view="rootView" ... />
RootPanel.get().add( (Widget)module.getStartView() );
=> this method will return the start view of the root module (module
with no parent) and add it to the RootPanel.
As a best practice, it's better to do this call in the entry point
than a presenter, because it's better to have no reference to the
widget class inside presenters to be able to test them with Junit
tests.
Pierre
On Aug 18, 1:10 pm, Vladislavs Serebro