Remove unused code in ViewModel
authorgs86.lee <gs86.lee@DO-GS86-LEE04>
Thu, 23 Feb 2017 07:51:24 +0000 (16:51 +0900)
committerChulSeung Kim <charles0.kim@samsung.com>
Thu, 8 Jun 2017 09:34:44 +0000 (18:34 +0900)
Change-Id: Id772d5a4a53e065e5d95cd9056fe1252f0a3c5b7

TVHome/TVHome/Views/MainPage.xaml.cs

index 0ac00cfc6b6999b449aaef8b19369b1d76806e3c..53b7682f167a8c3528151a75420a6a8c55e89ea7 100644 (file)
@@ -52,71 +52,6 @@ namespace TVHome.Views
                 currentSubPanel = SubPanelDictionary[key];\r
                 currentSubPanel.ShowPanel();\r
             });\r
-\r
-            // TODO : change this TESTING code!!!\r
-\r
-            // Model들 class들(AppShortController, HistoryShortcutController, SettingShortController)의 TVHomeImpl을 호출하여 사용할 수 있습니다.\r
-            //IEnumerable<AppShortcutInfo> appList = TVHomeImpl.GetInstance.AppShortcutControllerInstnace.GetList();\r
-\r
-            // TODO : SettingShortcuts의 생성은 SettingShortcutController가 SettingShortcutFactory를 사용하여 해야합니다.\r
-            // 다른곳에서 직접 SettingShortcutFactory를 사용하는 일은 없어야 합니다.\r
-\r
-            //var wifiButton = new Button\r
-            //{\r
-            //    Text = "WiFiSettingShortcut",\r
-            //};\r
-            //var wifiShortcutInfo = SettingShortcutFactory.Get(SettingID.WiFi);\r
-            //if (wifiShortcutInfo == null)\r
-            //{\r
-            //    Debug.Assert(false, "WiFiShortcutInfo is NULL!!!");\r
-            //}\r
-\r
-            //wifiButton.Clicked += (object sender, EventArgs e) =>\r
-            //{\r
-            //    if (wifiShortcutInfo.DoAction() == false)\r
-            //    {\r
-            //        DebuggingUtils.Popup("WiFi actions is failed, " + wifiShortcutInfo.CurrentDescription.Label);\r
-            //    }\r
-\r
-            //    Button btn = sender as Button;\r
-            //    btn.Text = wifiShortcutInfo.CurrentDescription.Label;\r
-            //};\r
-\r
-            //var btButton = new Button\r
-            //{\r
-            //    Text = "BTSettingShortcut",\r
-            //};\r
-            //var btShortcutInfo = SettingShortcutFactory.Get(SettingID.BLUETOOTH);\r
-            //if (btShortcutInfo == null)\r
-            //{\r
-            //    Debug.Assert(false, "BTShortcutInfo is NULL!!!");\r
-            //}\r
-\r
-            //btButton.Clicked += (object sender, EventArgs e) =>\r
-            //{\r
-            //    if (btShortcutInfo.DoAction() == false)\r
-            //    {\r
-            //        DebuggingUtils.Popup("BT actions is failed, " + btShortcutInfo.CurrentDescription.Label);\r
-            //    }\r
-\r
-            //    Button btn = sender as Button;\r
-            //    btn.Text = btShortcutInfo.CurrentDescription.Label;\r
-            //};\r
-\r
-            //Testing.Children.Add(new StackLayout\r
-            //{\r
-            //    VerticalOptions = LayoutOptions.Center,\r
-            //    Children =\r
-            //        {\r
-            //            new Label\r
-            //            {\r
-            //                HorizontalTextAlignment = TextAlignment.Center,\r
-            //                Text = "Welcome to Xamarin Forms!"\r
-            //            },\r
-            //            wifiButton,\r
-            //            btButton,\r
-            //        }\r
-            //});\r
         }\r
         private void OnAppearing(object sender, EventArgs e)\r
         {\r