protected override void OnNavigatedTo(NavigationEventArgs e)
        {
            base.OnNavigatedTo(e);

            GoogleAnalytics.EasyTracker.GetTracker().SendView("DramaDetailsPage");

            drama = Application.Current.Resources["SelectedDrama"] as NewDramasInfo;
            GoogleAnalytics.EasyTracker.GetTracker().SendEvent("Checked Drama Country", DramaCountry(drama.area_id), null, 0);

            ParseEpisodeList();
            Poster.Source = drama.poster_url.OriginalString;
            Description.Text = drama.introduction;
        }
        public TestPage()
        {
            InitializeComponent();

            var info = new NewDramasInfo();
            info.name = "abc";
            info.Views = 123;
            dummies.Add(info);

            info = new NewDramasInfo();
            info.name = "def";
            info.Views = 456;
            dummies.Add(info);

            listBox.ItemsSource = ListSource;
            OnPropertyChanged("ListSource");
        }
        private void OnFetchDramasWithViewsCompleted(List<DramasWithViews> dramas)
        {
            foreach (var dramasWithViews in dramas) {
                dramaViews.Add(dramasWithViews.id, dramasWithViews.views);
                var newDramasInfo = new NewDramasInfo {id = dramasWithViews.id, Views = dramasWithViews.views, infoFetched = false};
                dramaInfos.Add(dramasWithViews.id, newDramasInfo);
            }

            WebResourceFetcher.FetchHotList(OnFetchHotListCompleted, ()=>LoadingWebResourceFailed("HotList"));
        }