예제 #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);
 }