Hi,
So in my Windows Project I have the Hardware Back Button pressed code
void HardwareButtons_BackPressed(object sender, BackPressedEventArgs e)
{
if (OnPageMenu == false)
{
e.Handled = true;
}
else
{
e.Handled = false;
}
}
On my menu page in the PCL I set the bool to false if its not on the menu page. But if its on the menu page I don't want the back button to do anything but e.handled = false just closes the whole app and e.handled true moves to the login page which i don't want. I just want it to stay on the page if its on the menu.
Thanks in advance.