I'm using XLabs on Android
I've currently got a login page with a register button. After the user fills out the registration form we send a verification code. What I am trying to do is remove the registration pages before presenting the verification page. That way if the user hits back from the verification page they go back to the LoginForm.
I do an await Navigation.PopToRootAsync to remove the registration pages. This works great.
But then I do Navigation.PushAsync and it doesn't work (it doesn't appear to do anything)
I wrote some test code that does pretty much the same thing, and it seems to work fine. What I noticed is that that when it works the Navigation object has a stack with one item (the login page in it) but when it doesn't work the stack is completely empty.
Also, if I do a NavigationService.NavigateTo instead of the PushAsync then it also works.
I can't quite figure out why the navigation stack is completely emptied in the case where it doesn't work.