Пример #1
0
 public void setNowPlaying(Station station) {
   this.nowPlaying = station;
   for (IDirectoryListener l : this.listener) l.onNowPlayingChanged(station);
 }
Пример #2
0
 public void setStations(List<Station> stationsList) {
   this.stationList = stationsList;
   for (IDirectoryListener l : this.listener) l.onStationsChanged(stationsList);
 }
Пример #3
0
 public void displayFavourites() {
   for (IDirectoryListener l : this.listener) l.onStationsChanged(this.favouriteStations);
 }
Пример #4
0
 public void setCategories(List<Category> catList) {
   this.catList = catList;
   for (IDirectoryListener l : this.listener) l.onCategoriesChanged(catList);
 }