public async void InfoTap(object parameter) { ContentView v = new InfoDialog(); PopupPage p = new InfoDialogPage(v); InfoTextPopup = (string)parameter; await PopupNavigation.PushAsync(p); }
public async void ProfileQuestionTap(Profile profile) { //List<ProfileQuestion> lpq = ProfileQuestion.GetAllWithChildren(); var op = ProfileData.Instance.ProfileQuestions.SingleOrDefault(pq => pq.Profile.Id == profile.Id && pq.Question.Id == ProfileData.Instance.Questions[Position].Id); ContentView v = new InfoDialog(); PopupPage p = new InfoDialogPage(v); InfoTextPopup = op.Opinion; await PopupNavigation.PushAsync(p); }