Example #1
0
        public override void ClickDisplayedShow(int selectedIndex)
        {
            //Stock standard request
            string jsonContent;

            using (WebClient webClient = new WebClient())
            {
                jsonContent = webClient.DownloadString(EPISODES_URL + shows.shows[selectedIndex].showId);
            }
            JavaScriptSerializer jss = new JavaScriptSerializer();

            episodes = jss.Deserialize <Episodes3Now>(jsonContent);
        }
Example #2
0
 public override void CleanEpisodes()
 {
     episodes = null;
 }