Semi-encapsulated the core/api dependency graphs and created a proper structure to load eager singletons

This commit is contained in:
Ernir Erlingsson
2016-03-10 22:31:08 +01:00
parent 10764d727b
commit 6f233070fe
28 changed files with 483 additions and 225 deletions

View File

@@ -1,9 +1,6 @@
package org.briarproject.android;
import android.app.Application;
import android.content.Context;
import javax.inject.Singleton;
import dagger.Module;
import dagger.Provides;
@@ -18,7 +15,7 @@ public class AppModule {
}
@Provides
@Singleton
@ApplicationScope
Application providesApplication() {
return application;
}