예제 #1
0
 private ResearcherView GetPage()
 {
     if (_view != null)
     {
         return(_view);
     }
     _view = new ResearcherView();
     _view.Disappearing += view_Closed;
     return(_view);
 }
예제 #2
0
        private void EditResearcher(object sender, EventArgs e)
        {
            var researcherPage = new ResearcherView {
                BindingContext = new ResearcherViewModel {
                    Mode = Mode.Edit
                }
            };

            Navigation.PushAsync(researcherPage);
        }
예제 #3
0
 void view_Closed(object sender, EventArgs e)
 {
     _view = null;
 }