From 45cc63c420dd9d60572549f3d248ff6abcdfc1ed Mon Sep 17 00:00:00 2001 From: "Heonjae.Jang" Date: Wed, 13 Sep 2017 10:50:58 +0900 Subject: [PATCH] Hot fix: Remove code for test Change-Id: I80fdd0c372d75a5c540e453dcc86ae9a82068597 Signed-off-by: Heonjae.Jang --- TVApps/TVApps/Controls/AppListView.xaml.cs | 26 ---------------------- 1 file changed, 26 deletions(-) diff --git a/TVApps/TVApps/Controls/AppListView.xaml.cs b/TVApps/TVApps/Controls/AppListView.xaml.cs index 544053d..41355cb 100755 --- a/TVApps/TVApps/Controls/AppListView.xaml.cs +++ b/TVApps/TVApps/Controls/AppListView.xaml.cs @@ -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(); -- 2.34.1