public SessionsPage ()
		{
			Title = "Sessions";

			NavigationPage.SetHasNavigationBar (this, true);

			listView = new ListView {
				RowHeight = 40
			};
			// see the SessionCell implementation for how the variable row height is calculated
			listView.HasUnevenRows = true;

			listView.ItemsSource = App.Database.GetSessions ();
			listView.ItemTemplate = new DataTemplate (typeof (SessionCell));

			listView.ItemSelected += (sender, e) => {
				var session = e.SelectedItem as Session;
				var sessionPage = new SessionPage();
				sessionPage.BindingContext = session;
				Navigation.PushAsync(sessionPage);
			};

			Content = new StackLayout {
				VerticalOptions = LayoutOptions.FillAndExpand,
				Children = {listView}
			};
		}
        public FavoritesPage()
        {
            Title = "Favorites";

            NavigationPage.SetHasNavigationBar(this, true);

            listView = new ListView {
                RowHeight = 40
            };
            listView.ItemsSource = new Session [] { new Session {
                                                        Title = "test", Location = "somewhere"
                                                    } };
            listView.ItemTemplate = new DataTemplate(typeof(SessionCell));

            listView.ItemSelected += (sender, e) => {
                var session     = e.SelectedItem;
                var sessionPage = new SessionPage();
                //todoPage.BindingContext = todoItem;
                Navigation.PushAsync(sessionPage);
            };

            Content = new StackLayout {
                VerticalOptions = LayoutOptions.FillAndExpand,
                Children        = { listView }
            };
        }
        public SessionsPage()
        {
            Title = "Sessions";

            NavigationPage.SetHasNavigationBar(this, true);

            listView = new ListView {
                RowHeight = 40
            };
            // see the SessionCell implementation for how the variable row height is calculated
            listView.HasUnevenRows = true;

            listView.ItemsSource  = App.Database.GetSessions();
            listView.ItemTemplate = new DataTemplate(typeof(SessionCell));

            listView.ItemSelected += (sender, e) => {
                var session     = e.SelectedItem as Session;
                var sessionPage = new SessionPage();
                sessionPage.BindingContext = session;
                Navigation.PushAsync(sessionPage);
            };

            Content = new StackLayout {
                VerticalOptions = LayoutOptions.FillAndExpand,
                Children        = { listView }
            };
        }
        public SessionsPage()
        {
            Title = "Sessions";

            NavigationPage.SetHasNavigationBar(this, true);

            listView = new ListView {
                RowHeight = 60
            };
//			listView.ItemSource = new string [] { "Keynote", "Party", "Closing" };
            listView.ItemsSource  = App.Database.GetSessions();
            listView.ItemTemplate = new DataTemplate(typeof(SessionCell));

            listView.ItemSelected += (sender, e) => {
                var session     = e.SelectedItem as Session;
                var sessionPage = new SessionPage();
                sessionPage.BindingContext = session;
                Navigation.PushAsync(sessionPage);
            };

            Content = new StackLayout {
                VerticalOptions = LayoutOptions.FillAndExpand,
                Children        = { listView }
            };
        }
		public SessionsPage ()
		{
			Title = "Sessions";

			NavigationPage.SetHasNavigationBar (this, true);

			listView = new ListView {
				RowHeight = 60
			};
//			listView.ItemSource = new string [] { "Keynote", "Party", "Closing" };
			listView.ItemsSource = App.Database.GetSessions ();
			listView.ItemTemplate = new DataTemplate (typeof (SessionCell));

			listView.ItemSelected += (sender, e) => {
				var session = e.SelectedItem as Session;
				var sessionPage = new SessionPage();
				sessionPage.BindingContext = session;
				Navigation.PushAsync(sessionPage);
			};

			Content = new StackLayout {
				VerticalOptions = LayoutOptions.FillAndExpand,
				Children = {listView}
			};
		}
		public FavoritesPage ()
		{
			Title = "Favorites";

			NavigationPage.SetHasNavigationBar (this, true);

			listView = new ListView {
				RowHeight = 40
			};
			listView.ItemsSource = new Session [] { new Session {Title = "test", Location="somewhere"} };
			listView.ItemTemplate = new DataTemplate (typeof (SessionCell));

			listView.ItemSelected += (sender, e) => {
				var session = e.SelectedItem;
				var sessionPage = new SessionPage();
				//todoPage.BindingContext = todoItem;
				Navigation.PushAsync(sessionPage);
			};

			Content = new StackLayout {
				VerticalOptions = LayoutOptions.FillAndExpand,
				Children = {listView}
			};
		}