|
@@ -255,14 +255,11 @@ public class MainApp extends MultiDexApplication implements HasAndroidInjector {
|
|
}
|
|
}
|
|
|
|
|
|
private void initDagger() {
|
|
private void initDagger() {
|
|
- appComponent = buildAppComponent();
|
|
|
|
- appComponent.inject(this);
|
|
|
|
- }
|
|
|
|
-
|
|
|
|
- protected AppComponent buildAppComponent() {
|
|
|
|
- return DaggerAppComponent.builder()
|
|
|
|
|
|
+ appComponent = DaggerAppComponent.builder()
|
|
.application(this)
|
|
.application(this)
|
|
.build();
|
|
.build();
|
|
|
|
+
|
|
|
|
+ appComponent.inject(this);
|
|
}
|
|
}
|
|
|
|
|
|
/**
|
|
/**
|