public SurveyPage(Survey survey) { //BackgroundColor = Color.FromHex ("#2A2A2A"); InitializeComponent (); Title = "Survey"; if (Device.OS == TargetPlatform.Android) NavigationPage.SetTitleIcon(this, "opac.png"); BindingContext = new ViewModels.SurveyViewModel (survey, BackgroundColor); AnswerList.ItemSelected += AnswerList_ItemSelected; }
public SurveyPage(Survey survey) { //BackgroundColor = Color.FromHex ("#2A2A2A"); InitializeComponent(); Title = "Survey"; if (Device.OS == TargetPlatform.Android) { NavigationPage.SetTitleIcon(this, "opac.png"); } BindingContext = new ViewModels.SurveyViewModel(survey, BackgroundColor); AnswerList.ItemSelected += AnswerList_ItemSelected; }