public SourceListPage() { InitializeComponent(); BindingContext = new SourceListViewModel(); }
public SourceListPage() { InitializeComponent(); BindingContext = _viewModel = App.Current.Services.GetService <SourceListViewModel>(); }
protected override void OnAppearing() { base.OnAppearing(); BindingContext = _vm = new SourceListViewModel(); }