Example #1
0
        async void OnSelectSchoolFromMap(object sender, EventArgs args)
        {
            var ViewModel = BindingContext as EditSonViewModel;

            if (ViewModel != null)
            {
                ((Entry)sender).Unfocus();
                SchoolMapPopup popup = new SchoolMapPopup(ViewModel.NewSchool, true);
                await PopupNavigation.PushAsync(popup);
            }
        }
Example #2
0
 async void OnShowSchoolLocation(object sender, EventArgs args)
 {
     var page = new SchoolMapPopup(BindingContext as SchoolEntity);
     await PopupNavigation.PushAsync(page);
 }