Go to root tab page while navigating app

Hi,

I am building an app using the tab layout, and I am having a small issue.

When I am in one tab of the app and I click go to one of the pages within that tab, I am brought to this new inner page, which is fine.
However, if I click onto another tab, and then back to the original tab, the inner page I opened last time is brought up, which is not what I want.

Is there a way to make clicking the tab show the root page of that tab? Other than getting rid of the history, as I want the user to still be able to use the back button while still using that tab. I’d really appreciate any help or pointers.

Thanks,
Patrick

Hi,

Thanks very much, that’s exactly what I want to do.

I appreciate it :smile:

I’m having trouble actually implementing it into my own code though. Is there one particular part of the code that I could simply plug into mine, or is there multiple things I must change?

Thanks,
Patrick