コード例 #1
0
        public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
        {
            BasicTableViewItem item = this._tableItems[indexPath.Section].Items[indexPath.Row];
            Movie movie             = item.Movie;

            //Launch the Individual Movie Screen with the selected movie
            IndividualMovieView movieScreen = new IndividualMovieView(movie);

            AppDelegate.rootNavigationController.PushViewController(movieScreen, true);

            tableView.DeselectRow(indexPath, true);              // iOS convention is to remove the highlight
        }
コード例 #2
0
        public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
        {
            BasicTableViewItem item = this._tableItems[indexPath.Section].Items[indexPath.Row];
            Movie movie = item.Movie;

            //Launch the Individual Movie Screen with the selected movie
            IndividualMovieView movieScreen = new IndividualMovieView(movie);
            AppDelegate.rootNavigationController.PushViewController(movieScreen,true);

            tableView.DeselectRow (indexPath, true); // iOS convention is to remove the highlight
        }