In my Xamarin project I am using masterDetailPage and replacing the detail section with a new ContentPage. I think Android's hardware back button is have the problem knowing you are on a different page. I tried adding base.OnBackPressed in the MainActivity but that didn't fix it. When using the app on Android and Navigate to a new page the back button should send you back to the original page the current app will minimize the program.
Is there anyway to do this?
var masterDetailPage = Application.Current.MainPage as MasterDetailPage;
masterDetailPage.Detail = new BaseNavigationPage((new SearchPage()));
MainActivity
public override void OnBackPressed()
{
base.OnBackPressed();
}