Skip to main content

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

3
  • why didn't you just edit your prior answer over here to add this? Commented Jun 28, 2015 at 21:45
  • Ok, nice explanation! But still I've to use 'injector.createInstance()' to create 'ProductPresenter' instance? Am I right? Commented Jun 29, 2015 at 1:41
  • And because ProductModel is tightly coupled to ProductPresenter why not just initialize it in constructor instead of passing to the constructor like this this.model = new ProductModel();. That way we don't have to use AssistedInjection! Commented Jun 29, 2015 at 4:00