public MainPage() { InitializeComponent(); BindingContext = ResearchersListViewModel.Instance(); }
private void ListView_OnItemTapped(object sender, ItemTappedEventArgs e) { Navigation.PushAsync(new ResearcherDetailView(ResearchersListViewModel.Instance().SelectedResearcher)); }
public MainWindow() { InitializeComponent(); DataContext = ResearchersListViewModel.Instance(); }
public ResearcherListView() { InitializeComponent(); ResearchersListViewModel.Instance().Navigation = Navigation; BindingContext = ResearchersListViewModel.Instance(); }