I have 3 VM: StartVM, ListItemsVM, ItemDetailsVM
Let\s say, I ran app from secondary tile and I need to open ItemDetailsVM with some Id. But I also need to open ListItemsVM for create navigation back entries stack.
So, in StartVM I do navigation:
base.navigationService.RemoveBackEntry(); //drop StartVM from stack
Then, in ListItemsVM in OnInitialize method I navigated to ItemDetailsVM.
And there, if I do navigationService.GoBack in code or user tap Back button, I will return to the ListItemsVM and OnActive event won't fire because it had activated after my navigation to new VM.
I know that I could navigate to the ItemsDetailsVM and then open the ListItemsVM. It's not good for me now, but I'll do that if I won't have any other way,
I just interested can it be fixed in framework? Because it looks like a bug.