I have a Menu Burger with a ListView where in the Click of the line of the listview I call this method to open a Modal, however the NavigationBar does not appear the BackButton.
public async Task OpenModalAsync(Page poPage, bool bNavigationPage = true)
{
if (bNavigationPage)
await Application.Current.MainPage.Navigation.PushModalAsync(new NavigationPage(poPage), true);
else
await Application.Current.MainPage.Navigation.PushModalAsync(poPage, true);
}
I have tried to use the method, but with no result
NavigationPage.SetHasBackButton(this, true);
I noticed that in the PushAsync method it places the BackButton.