I got a question related to navigation between different versions of the same page.
Scenario: List-Page and Details-Page.
If I navigate from List to Detail, everything works as expected. Details page slides in, can go back to List and choose another details page link.
But I do also crosslink details pages. Meaning I can go from Detail 1 to Detail 2 to Detail 3 to Detail 1 without having to go back to list page.
Fo this, i use a function like this:
Works fine, but it creates a “stack” of detail pages. Example: If i switch from Detail 1 to Detail 2, it works fine. If i then navigate to detail 3, it slides in Detail 1 and Detail 2 one after another before I get Detail 3.
Is there a way to “reset” the detail page stack so I only navigate to the destination page with according parameters, but don’t get that “scroll through all previous detail pages” effect?