use of com.wingjay.jianshi.di.AppModule in project jianshi by wingjay.
the class JianShiApplication method onCreate.
@Override
public void onCreate() {
super.onCreate();
appComponent = DaggerAppComponent.builder().appModule(new AppModule(JianShiApplication.this)).build();
final Fabric fabric = new Fabric.Builder(this).kits(new Crashlytics()).debuggable(true).build();
Fabric.with(fabric);
Stetho.initializeWithDefaults(this);
instance = this;
FlowManager.init(new FlowConfig.Builder(this).openDatabasesOnInit(true).build());
initLog();
CalligraphyConfig.initDefault(new CalligraphyConfig.Builder().setDefaultFontPath("fonts/jianshi_default.otf").setFontAttrId(R.attr.fontPath).build());
}
Aggregations