src/main/java/com/fizzbuzz/android/dagger/InjectingActivity.java
@Override
    protected void onCreate(android.os.Bundle savedInstanceState) {
        // extend the application-scope object graph with the modules for this activity
        mObjectGraph = ((Injector) getApplication()).getObjectGraph().plus(getModules().toArray());

        // now we can inject ourselves
        inject(this);

        // note: we do the graph setup and injection before calling super.onCreate so that InjectingFragments
        // associated with this InjectingActivity can do their graph setup and injection in their
        // onAttach override.
        super.onCreate(savedInstanceState);

    }
@Override
    protected void onCreate(android.os.Bundle savedInstanceState) {
        // extend the application-scope object graph with the modules for this activity
        mObjectGraph = ((Injector) getApplication()).getObjectGraph().plus(getModules().toArray());

        // now we can inject ourselves
        inject(this);

        // note: we do the graph setup and injection before calling super.onCreate so that InjectingFragments
        // associated with this InjectingActivity can do their graph setup and injection in their
        // onAttach override.
        super.onCreate(savedInstanceState);

    }
Creates an object graph for this Activity by extending the application-scope object graph with the modules
returned by {@link #getModules()}.
<p/>
Injects this Activity using the created graph.