Comment by Evelyne24:
Hi,
I have a question regarding Code Splitting + DI with Guice/Gin. I have a
module that looks like this:
public class Module {
private Thing thing;
private Provider<OtherThing> provider; // Guice
@Inject
public Module(Thing thing, Provider<OtherThing> provider) {
this.thing = thing;
this.provider = provider;
}
}
I am trying to split the code for this class, so I inserted a call to
GWT.runAsync directly in the constructor. But the code for Provider gets
pulled in. Any idea how can I combine DI with Guice/Gin and still be able
to split the code like I want?
Thanks in advance.
Evely
For more information:
http://code.google.com/p/google-web-toolkit/wiki/CodeSplitting
--~--~---------~--~----~------------~-------~--~----~
http://groups.google.com/group/Google-Web-Toolkit-Contributors
-~----------~----~----~----~------~----~------~--~---