Before the call, NavigationService.GoBack()we need to check if it is NavigationService.CanGoBacktrue, but what are the situations in which it NavigationService.CanGoBackreturns false?
NavigationService.GoBack()
NavigationService.CanGoBack
CanGoBack returns false if there is nothing in the navigation history. There are times when the most recent entry (multiple navigators) may not have been added for the current navigator.
documentation link
As Jacob pointed out, CanGoBack will be false if you are at the root of BackStack navigation. It may also be incorrect if you replace the root frame with a new one that also has no pages.
Source: https://habr.com/ru/post/1570362/More articles:Maven commons-configuration2 - javaError Handling in a Class Module Function - functionUsing @ font-face with Tumblr - fontsPHP date to string conversion adds a minute to each result - dateLooking inside the curry function in R (reverse curry?) - rOperations on "double" and optimization in C - c ++Spring аннотация для проверки - Как я могу проверить, что запись в 2 символа в строке является фактическим штатом США? - javaEnable submit button only when filling in all fields - jqueryHow to change CHECK restriction on Firebird? - sqlAndroid uses a different icon for the latest applications - androidAll Articles