For example, a page that hosts a video player, which could lead to other video player pages - e.g. when user taps anything under “suggested videos”. It’s desirable to always destroy the previous page due to its resource intensiveness and reinitialize instead of pushing multiple pages into the nav stack.
Basically what I was trying to do is to detect if previous page is the same “DetailPage”, if so remove it from the stack, but after I went to “DetailPage” a few times and clicked the back button, it still took me to previous DetailPage. What am I doing wrong?