summaryrefslogtreecommitdiff
path: root/TVHome
diff options
context:
space:
mode:
authorHeonjae.Jang <Heonjae.Jang@samsung.com>2017-09-20 15:06:43 +0900
committerHeonjae Jang <heonjae.jang@samsung.com>2017-09-20 06:46:41 +0000
commitffc44c34204d764acc141e6f125a5b09ad571a40 (patch)
treead1bfbc9799f11702a975a29b76d511d86658eca /TVHome
parent9a3a0aa9d074b24c4c13bd6423bbfe4fff6c9c1c (diff)
downloadhome-ffc44c34204d764acc141e6f125a5b09ad571a40.tar.gz
home-ffc44c34204d764acc141e6f125a5b09ad571a40.tar.bz2
home-ffc44c34204d764acc141e6f125a5b09ad571a40.zip
Removes Xamarin Warnings
Change-Id: Ic526a541c669a77b2da29fa1dc59a4587818fb78
Diffstat (limited to 'TVHome')
-rwxr-xr-xTVHome/TVHome/Views/MainPage.xaml.cs7
1 files changed, 3 insertions, 4 deletions
diff --git a/TVHome/TVHome/Views/MainPage.xaml.cs b/TVHome/TVHome/Views/MainPage.xaml.cs
index 9ce8b47..9fbcfe6 100755
--- a/TVHome/TVHome/Views/MainPage.xaml.cs
+++ b/TVHome/TVHome/Views/MainPage.xaml.cs
@@ -103,6 +103,8 @@ namespace TVHome.Views
{
InitializeComponent();
+ AppsSubPanel.BindingContext = AppListViewModel.Instance;
+ SettingsSubPanel.BindingContext = SettingsViewModel.Instance;
BindingContext = MainPageViewModel.Instance;
SubPanelDictionary = new Dictionary<HomeMenuItem, Panel>();
@@ -110,10 +112,7 @@ namespace TVHome.Views
SubPanelDictionary.Add(HomeMenuItem.Settings, SettingsSubPanel);
AppsSubPanel.OnPanelShowing();
- AppsSubPanel.BindingContext = AppListViewModel.Instance;
-
SettingsSubPanel.OnPanelHiding();
- SettingsSubPanel.BindingContext = SettingsViewModel.Instance;
PropertyChanged += MainPage_PropertyChanged;
@@ -288,4 +287,4 @@ namespace TVHome.Views
return true;
}
}
-} \ No newline at end of file
+}