public QuestionDetailViewModel(QnAMakerResult qna) { Qna = qna; QnaMultipleAlternatives = new ObservableCollection <QnAMakerResult>(); WebService.QueryMultipleAnswers(Qna.Question).ContinueWith(fetchMultipleAnswers); AlternativeAnswersHeader = "Loading..."; }
public QuestionDetailPage(QnAMakerResult qna) { InitializeComponent(); BindingContext = new QuestionDetailViewModel(qna); }