Primo refactoring picking libero
This commit is contained in:
@@ -29,7 +29,6 @@ public class MainApplication extends Application {
|
||||
private AppContext appContext = new AppContext(this);
|
||||
|
||||
private static AppDatabase appDb;
|
||||
private static Context context;
|
||||
|
||||
|
||||
// Called when the application is starting, before any other application objects have been created.
|
||||
@@ -38,10 +37,7 @@ public class MainApplication extends Application {
|
||||
public void onCreate() {
|
||||
super.onCreate();
|
||||
|
||||
context = this;
|
||||
|
||||
appModule = new MainApplicationModule(MainApplication.this);
|
||||
|
||||
appComponent = DaggerMainApplicationComponent.create();
|
||||
|
||||
appContext.init();
|
||||
|
||||
Reference in New Issue
Block a user