From: Heonjae.Jang Date: Wed, 13 Sep 2017 01:50:58 +0000 (+0900) Subject: Hot fix: Remove code for test X-Git-Tag: submit/tizen/20170913.015410^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F71%2F149671%2F1;p=profile%2Ftv%2Fapps%2Fdotnet%2Fhome.git Hot fix: Remove code for test Change-Id: I80fdd0c372d75a5c540e453dcc86ae9a82068597 Signed-off-by: Heonjae.Jang --- 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();