@Override protected void onCreate(Bundle savedInstanceState) { super.onCreate(savedInstanceState); // dagger Application.inject(this); // inject extras Dart.inject(this); initVariables(); }
/** * *************************************************** ---------------- * Bus * * -------------------- * * <p>************************************************** */ private void otto(boolean register) { if (register) Application.getBus().register(this); else Application.getBus().unregister(this); }