@iarry wrote:
I'm looking for the proper way to set up my navigation and states to avoid the following issue and have a useful navigation stack. I have three tabs,
home
,login
, andfilters
as well as asplash
page. If I navigate from say:splash -> home -> filters -> home -> login -> home
when I use the back button in the browser (or android's system back) it'll go all the way fromhome -> login -> home -> filters -> home -> splash
. I'd like it treat the home page as a home page with no history attached to it. When navigating back aftersplash -> home -> filters -> home -> login
it should belogin -> home
and that's the end of it.I posted this as a Stack Overflow question with my corresponding code and got one hack-ish response which I'd like to avoid. There's also this question although I'm not sure that'll work once the tabs have their own sub views (ex:
filters.news
orfilters.sports
).
Posts: 1
Participants: 1