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