public ConsentPage(ConsentPageViewModel viewModel) { InitializeComponent(); _consentPageViewModel = viewModel; BindingContext = viewModel; }
public ConsentPage() { InitializeComponent(); _consentPageViewModel = new ConsentPageViewModel(); BindingContext = _consentPageViewModel; }