use of proton.inject.observer.event.OnCreateEvent in project AndroidTraining by mixi-inc.
the class ProtonAccountAuthenticatorActivity method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
Injector injector = Proton.getInjector(this);
mObserverManager = injector.getInstance(ObserverManager.class);
mStateEventObserver = injector.getInstance(StateEventObserver.class);
injector.inject(this);
super.onCreate(savedInstanceState);
mObserverManager.fire(new OnCreateEvent(savedInstanceState));
}
use of proton.inject.observer.event.OnCreateEvent in project AndroidTraining by mixi-inc.
the class ProtonActivity method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
Injector injector = Proton.getInjector(this);
mObserverManager = injector.getInstance(ObserverManager.class);
mStateEventObserver = injector.getInstance(StateEventObserver.class);
injector.inject(this);
super.onCreate(savedInstanceState);
mObserverManager.fire(new OnCreateEvent(savedInstanceState));
}
use of proton.inject.observer.event.OnCreateEvent in project AndroidTraining by mixi-inc.
the class ProtonFragmentActivity method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
Injector injector = Proton.getInjector(this);
mObserverManager = injector.getInstance(ObserverManager.class);
mStateEventObserver = injector.getInstance(StateEventObserver.class);
injector.inject(this);
super.onCreate(savedInstanceState);
mObserverManager.fire(new OnCreateEvent(savedInstanceState));
}
use of proton.inject.observer.event.OnCreateEvent in project AndroidTraining by mixi-inc.
the class ProtonPreferenceActivity method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
Injector injector = Proton.getInjector(this);
mObserverManager = injector.getInstance(ObserverManager.class);
mStateEventObserver = injector.getInstance(StateEventObserver.class);
injector.inject(this);
super.onCreate(savedInstanceState);
mObserverManager.fire(new OnCreateEvent(savedInstanceState));
}
use of proton.inject.observer.event.OnCreateEvent in project AndroidTraining by mixi-inc.
the class ProtonIntentService method onCreate.
@Override
public void onCreate() {
Injector injector = Proton.getInjector(this);
mObserverManager = injector.getInstance(ObserverManager.class);
injector.inject(this);
super.onCreate();
mObserverManager.fire(new OnCreateEvent(null));
}
Aggregations