Пример #1
0
 public void makeSamplePodcastWithUrl(String title, String url) {
   ListAdapter adapter = activity.getListAdapter();
   PodcastItem item = ((PodcastVisual) adapter.getItem(0)).podcast;
   item.title = title;
   item.audioUri = url;
 }
Пример #2
0
 private PodcastItem clickOnPodcastItem(int index) {
   ListAdapter adapter = activity.getListAdapter();
   PodcastVisual pv = (PodcastVisual) adapter.getItem(index);
   clickInList(index);
   return pv.podcast;
 }