public override void OnCreate(Bundle savedInstanceState) { base.OnCreate(savedInstanceState); this.viewModel = ViewModelProviders.Of(this) .Get(Java.Lang.Class.FromType(typeof(ScanAreaSettingsViewModel))) as ScanAreaSettingsViewModel; }