@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 public void onCreate() { super.onCreate(); AnalyticsAPI.setupAnalyticsAPI(getApplicationContext()); }
public void onCreate() { super.onCreate(); instance = this; bus = new Bus(ThreadEnforcer.ANY); }