private void ReflashByLocalData()
        {
            ListItemSource.Clear();
            if (LoadDataStarted != null)
            {
                LoadDataStarted();
            }

            List <SimpleListItem> list = XMLListDataReader.ReadListData(new Uri(ContentURL, UriKind.Relative));

            foreach (SimpleListItem item in list)
            {
                ListItemSource.Add(new RichListItem()
                {
                    Title           = item.Title,
                    ItemType        = item.ItemType,
                    URL             = item.URL,
                    ItemTemplate    = item.ItemTemplate,
                    SubItemTemplate = item.SubItemTemplate
                });
            }
            NotifyPropertyChanged("ListItemSource");

            if (LoadDataCompleted != null)
            {
                LoadDataCompleted();
            }
        }
        public void InitData()
        {
            #region 將地區列表讀出來塞給 AppService
            List <SimpleListItem> listArea = XMLListDataReader.ReadListData(new Uri("Data/ForecastList.xml", UriKind.Relative));
            AppService.Instance.UpdateKnownsAreaList(listArea);

            if (AppService.Instance.FirstLaunch)
            {
                // 第一次啟動時將台北市、高雄市加入喜好項目
                AppService.Instance.AppendDefaultArea();
            }

            if (AppService.Instance.FirstLaunchTile)
            {
                // 1.2 版加入動態磚…與 Agent 共用的資訊要存成檔案
                // 故將放在 setting 中的關注項目搬到檔案中
                AppService.Instance.MoveAttentionAreaFromSettingToFile();
            }
            #endregion

            #region 總覽
            List <SimpleListItem> listOverView = XMLListDataReader.ReadListData(new Uri("Data/MainExplore.xml", UriKind.Relative));
            foreach (SimpleListItem item in listOverView)
            {
                ExploreItems.Add(item);
            }
            #endregion

            #region 更多
            OthersItems.Add(new IconListItem()
            {
                Icon         = "Image/goto.png",
                Title        = "中央氣象局網頁",
                URL          = "http://www.cwb.gov.tw",
                ItemType     = WeatherItemType.WI_TYPE_BLANKWEB,
                ItemTemplate = WeatherItemTemplate.WI_TEMPLATE_SMALL_ICON
            });
            OthersItems.Add(new IconListItem()
            {
                Icon         = "Image/goto.png",
                Title        = "中央氣象局網頁 PDA 版",
                URL          = "http://www.cwb.gov.tw/pda/",
                ItemType     = WeatherItemType.WI_TYPE_BLANKWEB,
                ItemTemplate = WeatherItemTemplate.WI_TEMPLATE_SMALL_ICON
            });
            OthersItems.Add(new IconListItem()
            {
                Icon         = "Image/tel.png",
                Title        = "氣象查詢:886-2-23491234",
                URL          = "+886223491234",
                ItemType     = WeatherItemType.WI_TYPE_CALL,
                ItemTemplate = WeatherItemTemplate.WI_TEMPLATE_SMALL_ICON
            });
            OthersItems.Add(new IconListItem()
            {
                Icon         = "Image/tel.png",
                Title        = "氣象查詢:886-2-23491168",
                URL          = "+886223491168",
                ItemType     = WeatherItemType.WI_TYPE_CALL,
                ItemTemplate = WeatherItemTemplate.WI_TEMPLATE_SMALL_ICON
            });
            OthersItems.Add(new IconListItem()
            {
                Title        = "",
                ItemType     = WeatherItemType.WI_TYPE_NON,
                ItemTemplate = WeatherItemTemplate.WI_TEMPLATE_SPACE
            });
            //OthersItems.Add(new IconListItem()
            //    {
            //        Title = "設定",
            //        URL = "SettingPage.xaml",
            //        ItemType = WeatherItemType.WI_TYPE_SETTING,
            //        ItemTemplate = WeatherItemTemplate.WI_TEMPLATE_SIMPLE
            //    });
            OthersItems.Add(new IconListItem()
            {
                Title        = "關於",
                URL          = "AboutPage.xaml",
                ItemType     = WeatherItemType.WI_TYPE_ABOUT,
                ItemTemplate = WeatherItemTemplate.WI_TEMPLATE_SIMPLE
            });
            OthersItems.Add(new IconListItem()
            {
                Title        = "意見反應",
                URL          = "*****@*****.**",
                ItemType     = WeatherItemType.WI_TYPE_MAILTO,
                ItemTemplate = WeatherItemTemplate.WI_TEMPLATE_SIMPLE
            });
            #endregion
        }