Hot fix: Remove code for test 71/149671/1 submit/tizen/20170913.015410 submit/tizen/20170913.015444 submit/tizen_4.0/20170913.030906
authorHeonjae.Jang <Heonjae.Jang@samsung.com>
Wed, 13 Sep 2017 01:50:58 +0000 (10:50 +0900)
committerHeonjae.Jang <Heonjae.Jang@samsung.com>
Wed, 13 Sep 2017 01:50:58 +0000 (10:50 +0900)
Change-Id: I80fdd0c372d75a5c540e453dcc86ae9a82068597
Signed-off-by: Heonjae.Jang <Heonjae.Jang@samsung.com>
TVApps/TVApps/Controls/AppListView.xaml.cs

index 544053d27530e9106c2c1eb00144b37a7bbbdc94..41355cbd9b5a169c15157a5c613c3932ed0f2fb7 100755 (executable)
@@ -159,32 +159,6 @@ namespace TVApps.Controls
             AppUpperList.Children.Clear();
             AppLowerList.Children.Clear();
 
-            foreach (var item in ItemsSource)
-            {
-                var viewCell = new AppItemCell();
-                viewCell.BindingContext = item;
-                viewCell.OnClickedCommand = new Command(() =>
-                {
-                    item.DoAction();
-                });
-                var index = AppCount / 2;
-                viewCell.OnFocusedCommand = new Command(() =>
-                {
-                    ScrollToIndex(index);
-                });
-
-                if (AppCount % 2 == 0)
-                {
-                    Device.BeginInvokeOnMainThread(() => AppUpperList.Children.Add(viewCell));
-                }
-                else
-                {
-                    Device.BeginInvokeOnMainThread(() => AppLowerList.Children.Add(viewCell));
-                }
-
-                AppCount = AppCount + 1;
-
-            }
             foreach (var item in ItemsSource)
             {
                 var viewCell = new AppItemCell();