public DoQuizPage() { InitializeComponent(); var category = new Category { Name = "Category 1", Questions = null }; viewModel = new DoQuizViewModel(category); BindingContext = viewModel; }
public DoQuizPage(DoQuizViewModel doQuizViewModel) { InitializeComponent(); BindingContext = viewModel = doQuizViewModel; }