summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHeonjae.Jang <Heonjae.Jang@samsung.com>2017-09-13 10:50:58 +0900
committerHeonjae.Jang <Heonjae.Jang@samsung.com>2017-09-13 10:50:58 +0900
commit45cc63c420dd9d60572549f3d248ff6abcdfc1ed (patch)
treea99bde452771fd050bd2e5c61631d6dcf4371af2
parent8afd3008738d8f9f081a066f3c69a5844d30426b (diff)
downloadhome-45cc63c420dd9d60572549f3d248ff6abcdfc1ed.tar.gz
home-45cc63c420dd9d60572549f3d248ff6abcdfc1ed.tar.bz2
home-45cc63c420dd9d60572549f3d248ff6abcdfc1ed.zip
Change-Id: I80fdd0c372d75a5c540e453dcc86ae9a82068597 Signed-off-by: Heonjae.Jang <Heonjae.Jang@samsung.com>
-rwxr-xr-xTVApps/TVApps/Controls/AppListView.xaml.cs26
1 files changed, 0 insertions, 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
@@ -185,32 +185,6 @@ namespace TVApps.Controls
AppCount = AppCount + 1;
}
- 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;
-
- }
if (AppCount > 0)
{