Hi !
I have in my project a RootView and a HomeView, this latter will be displayed inside the main Container of the RootView but only with clicking on the HomeButton.
Now I want to get the HomeView displayed inside the RootView at the first browser loading.
I tried to add in my MainEventBus interface to make:
@Events(startPresenter=RootPresenter.class)
public interface MainEventBus extends EventBus{
@Start
@Event(handlers = { RootPresenter.class })
public void start();
@Event(handlers = {HomePresenter.class, RootPresenter.class})
public void goToHome();
@Event(handlers = {RootPresenter.class})
public void changeRootBody(Widget w);
@Event(handlers={RootPresenter.class})
public void goToRoot();
}
and in my RootPresenter:
public void onStart(){
onGoToRoot();
onGoToMosaique();
}
but without success, any idea will be appreciated