public FeedsController(UserService service, UserFeed feed) : base(UITableViewStyle.Grouped) { try { Service = service; LoadFeeds(); } catch (Exception error) { Log.Error(error); } }
public void PushDataViewController(UserFeed feed) { var c = new DataViewController(new UserQuery() { FeedId = feed.Id, Name = feed.Name, ServiceId = Service.Id }, feed.Url); NavigationController.PushViewController(c, true); }
public override void OnSelected(DialogViewController sender, NSIndexPath indexPath) { UserFeed feed = null; using (var repo = new Repo()) { feed = repo.GetFeed(Query.FeedId); } var c = new DataViewController(Query, feed.Url); sender.NavigationController.PushViewController(c, true); }
public override void OnSelected(DialogViewController sender, MonoTouch.Foundation.NSIndexPath indexPath) { var c = new FeedsController (Service, Value); c.FeedSelected += f => { Value = f; c.NavigationController.PopViewControllerAnimated (true); sender.TableView.ReloadData (); }; sender.NavigationController.PushViewController (c, true); }
public QueryFeedElement(UserService service, UserFeed feed) : base("Feed") { Service = service; Value = feed; CellStyle = UITableViewCellStyle.Value1; }
public FeedElement(UserService service, UserFeed feed, UITableViewCellAccessory acc) : base(feed.Name) { Accessory = acc; Service = service; Feed = feed; }
public LinkElement(UserFeed feed, Entity.Link link) : base(link.Name) { Feed = feed; Link = link; }
public void PushDataViewController(UserFeed feed) { var c = new DataViewController (new UserQuery() { FeedId = feed.Id, Name = feed.Name, ServiceId = Service.Id }, feed.Url); NavigationController.PushViewController (c, true); }