Update() public méthode

public Update ( MonkeySpace speaker ) : void
speaker MonkeySpace
Résultat void
            public override void RowSelected(UITableView tableView, NSIndexPath indexPath)
            {
                MonkeySpace.Core.Speaker s = sectionElements[indexPath.Section][indexPath.Row];
                if (bioVC == null)
                {
                    bioVC = new SpeakerBioViewController(s);
                }
                else
                {
                    bioVC.Update(s);
                }

                bioVC.Title = s.Name;
                svc.NavigationController.PushViewController(bioVC, true);
                tableView.DeselectRow(indexPath, true);
            }
Exemple #2
0
        public override void ItemSelected(UICollectionView collectionView, NSIndexPath indexPath)
        {
            Speaker s = speakerData[indexPath.Row];

            if (bioVC == null)
            {
                bioVC = new SpeakerBioViewController(s);
            }
            else
            {
                bioVC.Update(s);
            }

            bioVC.Title = s.Name;
            NavigationController.PushViewController(bioVC, true);

            collectionView.DeselectItem(indexPath, false);
        }