Back to project page Android-MyStarterApp.
The source code is released under:
Apache License
If you think the Android project Android-MyStarterApp 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 co.kaush.mystarterapp.app; // w ww .j a v a 2 s.c o m import android.app.Application; import com.crashlytics.android.Crashlytics; import co.kaush.mystarterapp.app.data.modules.Modules; import dagger.ObjectGraph; import timber.log.Timber; public class BaseApplication extends Application { private static BaseApplication _instance; private ObjectGraph _objectGraph; public static BaseApplication getInstance() { return _instance; } @Override public void onCreate() { super.onCreate(); Timber.plant(new CrashReportingTree()); Crashlytics.start(this); _objectGraph = ObjectGraph.create(Modules.list(this)); } }