Open Aecttann opened 4 years ago
The MockDataService is simply a service that generates a map of channels and epgevents for the channel. All you need to do is call your own service or data gathering mechanism, build the Map<Channel, EPGEvent> and then pass it to the epg object.
final Map<Channel, EPGEvent> epgData = myService.getMyData();
epg.setEPGData(epgData);
epg.recalculateAndRedraw(false);
How should I change MockDataService class for my own data, which are going in a strong order? What steps I need to do? Now there are random values from Lists. I was trying to change some loops, for example:
and
but I didn't think that I'm on the right way.
And with this method I even have no ideas how to change it for me: