コード例 #1
0
        public void listViewControllerHandleObject(ListViewController lvc, object obj)
        {
            // Cast the passed object to RSSItem
            RSSItem entry = obj as RSSItem;

            // Make sure that we are really getting an RSSItem
            if (entry.GetType() != typeof(RSSItem))
            {
                return;
            }

            // Grab the info from the item and push it into the appropriate views
            this.webView.LoadRequest(new NSUrlRequest(new NSUrl(entry.link)));

            this.NavigationItem.Title = entry.title + " - " + entry.subForum;
        }