Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Binding presenter widget factory. #78

Closed
branflake2267 opened this issue Dec 18, 2012 · 2 comments
Closed

Binding presenter widget factory. #78

branflake2267 opened this issue Dec 18, 2012 · 2 comments

Comments

@branflake2267
Copy link
Contributor

I think it would be nice to add easier binding for binding a presenter widget factory.

Currently it looks like this.

bind(EditPictureWidgetPresenter.MyView.class).to(EditPictureWidgetView.class);

install(new GinFactoryModuleBuilder().build(EditPictureWidgetPresenterFactory.class));

I think it would be nice to add a connivence method to:
public abstract class AbstractPresenterModule extends AbstractGinModule {}

@branflake2267
Copy link
Contributor Author

nevermind it exists:
bindPresenterWidgetFactory(presenterFactory, presenterFactoryImpl, viewFactory, viewFactoryImpl);

@branflake2267
Copy link
Contributor Author

Since this exists I'm closing the issue.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant