public RecipeListPage()
        {
            InitializeComponent();
            vm = new RecipeListViewModel();

            BindingContext = vm;

            Task.Run(async() => await vm.ReadRecipeData());
        }
Ejemplo n.º 2
0
        public RecipesListPage()
        {
            InitializeComponent();

            ViewModel = new RecipeListViewModel(Navigation);

            ViewModel.RefreshRecipes();

            BindingContext = ViewModel;
        }
Ejemplo n.º 3
0
        public RecipeListPage()
        {
            InitializeComponent();

            BindingContext = new RecipeListViewModel();
        }