use of org.fossasia.openevent.app.common.rx.Logger in project open-event-orga-app by fossasia.
the class MainPresenter method showLoadedEvent.
private void showLoadedEvent(long storedEventId) {
getView().setEventId(storedEventId);
Event staticEvent = ContextManager.getSelectedEvent();
if (staticEvent != null) {
getView().showResult(staticEvent);
if (!isRotated())
showEvent(staticEvent);
return;
}
eventRepository.getEvent(storedEventId, false).compose(dispose(getDisposable())).compose(erroneous(getView())).subscribe(bus::pushSelectedEvent, Logger::logError);
}