@Override
    public void onCreate() {
        super.onCreate();

        // initialize object graph and inject this
        mObjectGraph = ObjectGraph.create(getModules().toArray());
        mObjectGraph.inject(this);

        // debug mode stuff
        if ((getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE) == 1) {
            mObjectGraph.validate(); // validate dagger's object graph
        }
    }
@Override
    public void onCreate() {
        super.onCreate();

        
        mObjectGraph = ObjectGraph.create(getModules().toArray());
        mObjectGraph.inject(this);

        
        if ((getApplicationInfo().flags & ApplicationInfo.FLAG_DEBUGGABLE) == 1) {
            mObjectGraph.validate(); 
        }
    }
@ Override public void onCreate ( ) { super . onCreate ( ) ; // initialize object graph and inject this mObjectGraph = ObjectGraph . create ( getModules ( ) . toArray ( ) ) ; mObjectGraph . inject ( this ) ; // debug mode stuff if ( ( getApplicationInfo ( ) . flags & ApplicationInfo . FLAG_DEBUGGABLE ) == 1 ) { mObjectGraph . validate ( ) ; // validate dagger's object graph } }
Creates an object graph for this Application using the modules returned by {@link #getModules()}.
<p/>
Injects this Application using the created graph.
Creates an object graph for this Application using the modules returned by {