Search in sources :

Example 1 with ApplicationInjectionComponent

use of com.pacoworks.dereference.ApplicationInjectionComponent in project SongkickInterview by pakoito.

the class ZimplBaseActivity method startInjector.

@NonNull
private ActivityInjectionComponent startInjector() {
    final ApplicationInjectionComponent applicationInjectionComponent = DereferenceApplication.get(this).component();
    final ActivityInjectionComponent injector = newActivityInjector(applicationInjectionComponent);
    injector.inject(this);
    return injector;
}
Also used : ApplicationInjectionComponent(com.pacoworks.dereference.ApplicationInjectionComponent) ActivityInjectionComponent(com.pacoworks.dereference.dependencies.ActivityInjectionComponent) NonNull(android.support.annotation.NonNull)

Aggregations

NonNull (android.support.annotation.NonNull)1 ApplicationInjectionComponent (com.pacoworks.dereference.ApplicationInjectionComponent)1 ActivityInjectionComponent (com.pacoworks.dereference.dependencies.ActivityInjectionComponent)1