Back to project page looking-glass.
The source code is released under:
Apache License
If you think the Android project looking-glass listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package ca.orospakr.lookingglass; /*from ww w. j a va2s .co m*/ import android.app.Application; import java.util.Arrays; import java.util.List; import dagger.Module; import dagger.ObjectGraph; /** * Primary Android singleton. */ public class LookingGlassApp extends Application { private ObjectGraph graph; @Override public void onCreate() { super.onCreate(); graph = ObjectGraph.create(new AndroidModule(this), new LookingGlassModule()); } public void inject(Object o) { graph.inject(o); } }