Пример #1
0
 public void onDownloadButtonClicked(Episode episode) {
   if (episode.isDownloaded()) {
     episodeListView.showClearCacheDialog(episode);
   } else {
     if (episodeListView.isNetworkConnected()) {
       episodeListView.showDownloadDialog(episode);
     } else {
       episodeListView.showNetworkError();
     }
   }
 }
Пример #2
0
 private void hideLoadingView() {
   episodeListView.hideLoadingView();
 }
Пример #3
0
 private void showLoadingView() {
   episodeListView.showLoadingView();
 }
Пример #4
0
 private void showEpisodeList(List<Episode> episodes) {
   episodeListView.renderEpisodes(episodes);
 }
Пример #5
0
 public void onMediaBarViewClicked(View v) {
   Intent intent = new Intent(v.getContext(), EpisodeDetailActivity.class);
   intent.putExtra(
       EpisodeListActivity.EXTRA_EPISODE_ID, podcastPlayer.getEpisode().getEpisodeId());
   episodeListView.launchIntent(intent);
 }
Пример #6
0
 private void hideMediaBarView() {
   episodeListView.hideMediaBarView();
 }
Пример #7
0
 private void showMediaBarView() {
   Episode episode = podcastPlayer.getEpisode();
   episodeListView.showMediaBarView(episode);
 }
Пример #8
0
 private void hideRetryView() {
   episodeListView.hideRetryView();
 }
Пример #9
0
 private void showRetryView() {
   episodeListView.showRetryView();
 }