use of roboguice.event.EventManager in project roboguice by roboguice.
the class RoboLauncherActivity method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
final RoboInjector injector = RoboGuice.getInjector(this);
eventManager = injector.getInstance(EventManager.class);
injector.injectMembersWithoutViews(this);
super.onCreate(savedInstanceState);
eventManager.fire(new OnCreateEvent<Activity>(this, savedInstanceState));
}
use of roboguice.event.EventManager in project roboguice by roboguice.
the class RoboMapActivity method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
final RoboInjector injector = RoboGuice.getInjector(this);
eventManager = injector.getInstance(EventManager.class);
injector.injectMembersWithoutViews(this);
super.onCreate(savedInstanceState);
eventManager.fire(new OnCreateEvent<Activity>(this, savedInstanceState));
}
use of roboguice.event.EventManager in project PocketHub by pockethub.
the class RoboAppCompatActivity method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
final RoboInjector injector = RoboGuice.getInjector(this);
eventManager = injector.getInstance(EventManager.class);
injector.injectMembersWithoutViews(this);
super.onCreate(savedInstanceState);
eventManager.fire(new OnCreateEvent(savedInstanceState));
}
use of roboguice.event.EventManager in project roboguice by roboguice.
the class RoboAccountAuthenticatorActivity method onCreate.
@Override
protected void onCreate(Bundle savedInstanceState) {
final RoboInjector injector = RoboGuice.getInjector(this);
eventManager = injector.getInstance(EventManager.class);
injector.injectMembersWithoutViews(this);
super.onCreate(savedInstanceState);
eventManager.fire(new OnCreateEvent<Activity>(this, savedInstanceState));
}
use of roboguice.event.EventManager in project roboguice by roboguice.
the class RoboIntentService method onCreate.
@Override
public void onCreate() {
final Injector injector = RoboGuice.getInjector(this);
eventManager = injector.getInstance(EventManager.class);
injector.injectMembers(this);
super.onCreate();
eventManager.fire(new OnCreateEvent<Service>(this, null));
}
Aggregations