public override void RowSelected(UITableView tableView, NSIndexPath indexPath) { var conversation = ConversationForIndexPath(indexPath); if (ShouldShowConversationViewForIndexPath(indexPath)) { var controller = new AAPLConversationViewController { Conversation = conversation }; controller.Title = conversation.Name; ShowViewController(controller, this); } else { var photo = conversation.Photos.GetItem <AAPLPhoto>((int)conversation.Photos.Count - 1); var controller = new AAPLPhotoViewController { Photo = photo, Title = conversation.Name }; ShowDetailViewController(controller, this); } }