public DisplayFormPage(InputFormViewModel viewModel) { InitializeComponent(); BindingContext = viewModel; NavigationPage.SetHasNavigationBar(this, false); }
public InputFormPage() { InitializeComponent(); BindingContext = viewModel = new InputFormViewModel(); NavigationPage.SetHasNavigationBar(this, false); }