示例#1
0
    public override void ItemSelected(UICollectionView collectionView, NSIndexPath indexPath)
    {
      if (podcastController == null)
      {
        podcastController = new PodcastDetailController();
      }

      searchBar.Hidden = true;
      Title = ".NET Rocks";

      podcastController.CurrentPodcastEpisode = ViewModel.FilteredPodcasts[indexPath.Row];
      NavigationController.PushViewController(podcastController, true);
    }
        public override void ItemSelected(UICollectionView collectionView, NSIndexPath indexPath)
        {
            if (podcastController == null)
            {
                podcastController = new PodcastDetailController();
            }

            searchBar.Hidden = true;
            Title            = ".NET Rocks";

            podcastController.CurrentPodcastEpisode = ViewModel.FilteredPodcasts[indexPath.Row];
            NavigationController.PushViewController(podcastController, true);
        }