Great tutorial! I have a problem though, after implementing the tabbar, somehow the state doesn’t persist when I switch tabs.
In tab 1, I was on Scarlet-Gray-Scarlet-Gray, then I clicked on tab 2. When I clicked back on tab 1, I was back on Scarlet with no back arrows on the titlebar.
I was running the app on an actual android device. Any idea about why this happen?