Forum Xamarin.Android

Android back button issue

hello everyone i have issue in android app whenever i press back button it will not go to previous page it will directly exit (not crash). Please help me anyone


  • daalboodaalboo Member ✭✭✭

    You may be navigating in some other way.

  • ColeXColeX Member, Xamarin Team Xamurai

    Do you mean the back button on navigation bar or hardware back button ?

    If you mean hardware back button , check your code to ensure that

    1. Do not place any logic inside OnBackButtonPressed method.

    2. Do not pop the current page from Root level in navigation .

Sign In or Register to comment.