public ChoiceQuestionService(AppShell appShell, ChoiceQuestion textQuestion, MapService mapService) { Model = textQuestion; Model.Service = this; MapService = mapService; ViewModel = new ChoiceQuestionViewModel(appShell, textQuestion); ViewModel.ConfirmedQuestionEvent += OnConfirm; }
public ChoiceQuestionPage(ChoiceQuestionViewModel choiceQuestion) { InitializeComponent(); BindingContext = choiceQuestion; }