public RecipeDetailsPage()
 {
     this.InitializeComponent();
     this.navigationHelper = new NavigationHelper(this);
     this.navigationHelper.LoadState += navigationHelper_LoadState;
     this.navigationHelper.SaveState += navigationHelper_SaveState;
 }
        public RestaurantsPage()
        {
            this.InitializeComponent();
            this.navigationHelper = new NavigationHelper(this);
            this.navigationHelper.LoadState += navigationHelper_LoadState;
            this.navigationHelper.SaveState += navigationHelper_SaveState;

            viewModel = new ViewModel();

            this.DataContext = viewModel;

            this.GetAllReastaurantsInCurrentPlace();
        }
Exemplo n.º 3
0
        public FavouritesPage()
        {
            this.InitializeComponent();
            this.navigationHelper = new NavigationHelper(this);
            this.navigationHelper.LoadState += navigationHelper_LoadState;
            this.navigationHelper.SaveState += navigationHelper_SaveState;

            viewModel = new ViewModel();

            this.DataContext = viewModel;

            LoadTheRecipes();
        }
Exemplo n.º 4
0
        public MyRecepies()
        {
            this.InitializeComponent();
            this.navigationHelper = new NavigationHelper(this);
            this.navigationHelper.LoadState += navigationHelper_LoadState;
            this.navigationHelper.SaveState += navigationHelper_SaveState;

            //RegisterAudioBackgroundTask();

            viewModel = new ViewModel();

            this.DataContext = viewModel;

            this.GetMyRecipes();
        }