When using the MVP pattern as described here in GWT, how do you create a presenter associated with a view when the view is part of another uibinder-defined view.
You instantiate it yourself via:
@UiFactory
method:
@UiFactory
public Widget getMyView(){
// here you instantiate your view & activity
...
// your view contais a widget or is a widget
return widget
}
@UiField(provided=true)
field :
@UiField(provided=true)
public Widget myView;
// then instantiate it in constructor