Example #1
0
        public RecipesListPage()
        {
            InitializeComponent();

            ViewModel = new RecipeListViewModel(Navigation);

            ViewModel.RefreshRecipes();

            BindingContext = ViewModel;
        }
        protected override void OnAppearing()
        {
            base.OnAppearing();

            ViewModel.RefreshRecipes();
        }