Back to project page android-unittesting.
The source code is released under:
Apache License
If you think the Android project android-unittesting listed in this page is inappropriate, such as containing malicious code/tools or violating the copyright, please email info at java2s dot com, thanks.
package com.devfest.dagger.app; /*from w w w . j a v a 2 s .c om*/ import android.app.Application; import com.devfest.dagger.data.DataProvider; import com.devfest.dagger.data.SqlLiteProvider; import java.util.Arrays; import java.util.List; import dagger.ObjectGraph; /** * Created by truxall on 4/28/2014. */ public class MainApplication extends Application { private ObjectGraph objectGraph; @Override public void onCreate() { super.onCreate(); objectGraph = ObjectGraph.create(new DataModule(this)); } public ObjectGraph getObjectGraph() { return this.objectGraph; } }