@Override public void onCreate() { super.onCreate(); instance = this; Esperandro.setSerializer(new FastJsonSerial()); ControlFactory.init(this); FrescoUtil.init(this); CrashHandler.getInstance().init(this); PluginHelper.getInstance().applicationOnCreate(getBaseContext()); }
@Override protected void attachBaseContext(Context base) { PluginHelper.getInstance().applicationAttachBaseContext(base); super.attachBaseContext(base); MultiDex.install(this); }