@Override public void onCreate() { super.onCreate(); SharedPreferences pref = PreferenceManager.getDefaultSharedPreferences(this); boolean isCatch = pref.getBoolean(getString(R.string.catch_crash_key), false); if (isCatch) { CustomActivityOnCrash.install(this); } }
@Override public void onCreate() { super.onCreate(); // setup service createService(); }
@Override protected void attachBaseContext(Context base) { super.attachBaseContext(base); MultiDex.install(this); }
@Override public void onCreate() { super.onCreate(); AnalyticsAPI.setupAnalyticsAPI(getApplicationContext()); }
public void onCreate() { super.onCreate(); instance = this; bus = new Bus(ThreadEnforcer.ANY); }