Exemplo n.º 1
0
        public ServiceController(string baseURL)
        {
            BaseURL = baseURL;

            Summaries = new SummariesController();
            Summaries.baseController = this;
            Summaries.BaseURL = BaseURL;

            User = new UserController();
            User.BaseURL = BaseURL;

            Feeds = new FeedController();
            Feeds.baseController = this;
            Feeds.BaseURL = BaseURL;

            Feeds.GetFeedList();
        }
Exemplo n.º 2
0
        void Feeds_FeedUpdate(FeedController sender)
        {
            comboLocales.ItemsSource = Service.Feeds.CityFeeds;
            int selIndex = Service.Feeds.CityFeeds.Length > 0 ? Service.Feeds.CityFeeds.Length - 1 : -1;

            comboLocales.SelectedIndex = selIndex;

            InitSocialFeeds();
        }