I have New Department Form page I create Department, 10 Employee gets created On list On Click Employee, Details get fire with below script
I get PushAsyn is not supported globally on Android, please use a Nagigation page But this works if I go all the way back to Department page and come to list and click on details On create
async void OnItemSelected(object sender, SelectedItemChangedEventArgs args)
{
var item = args.SelectedItem as Employee;
if (item == null)
return;
//None below works
await (App.Current.MainPage).Navigation.PushAsync(new EmployeeDetail(item));
//await Navigation.PushAsync(new EmployeeDetail(item));
//Application.Current.MainPage = new NavigationPage(new EmployeeDetail(item));
}