示例#1
0
        public ChoiceQuestionService(AppShell appShell, ChoiceQuestion textQuestion, MapService mapService)
        {
            Model = textQuestion;

            Model.Service = this;

            MapService = mapService;

            ViewModel = new ChoiceQuestionViewModel(appShell, textQuestion);

            ViewModel.ConfirmedQuestionEvent += OnConfirm;
        }
示例#2
0
 public ChoiceQuestionPage(ChoiceQuestionViewModel choiceQuestion)
 {
     InitializeComponent();
     BindingContext = choiceQuestion;
 }