Menu - correct closing of the submenu

Hello.
In the app I have screen1 where there is a menu from which I call other screens .. scrTema1, scrTema2 etc.
If, for example, in the scrTema1 screen, ensure that I return to screen1 without the app terminating?
If I am in the submenu and I press the left arrow on the mobile, the app will not return to the menu, but will end completely.

Thanks. Ondrej

All you have to do is override the default "BackPressed" value:
image

Thanks. Ondrej

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.