use of org.fossasia.openevent.common.api.DataDownloadManager in project open-event-android by fossasia.
the class EventListResponseProcessor method onSuccess.
@Override
protected void onSuccess(Event event) {
int counterRequests = 7;
final DataDownloadManager download = DataDownloadManager.getInstance();
StrategyRegistry.getInstance().getEventBusStrategy().postEventOnUIThread(new CounterEvent(counterRequests));
save(event);
download.downloadSession();
download.downloadSpeakers();
download.downloadTracks();
download.downloadMicrolocations();
download.downloadSponsors();
download.downloadSessionTypes();
}
Aggregations