Let’s say I have a simple app with a bottomBar and two tabs, each showing a list of items. What would be the right thing to do for opening those items? A new activity? A new screen + hiding the bottomBar with an animation? in Jetnews there is no bottomBar in the first screen, so it feels easier to just change the screen..
07/19/2020, 5:59 PM
Sort of a common pattern to do for this in single activity apps is as follows:
• have a root container, which changes your screens as a whole
• have a tab container, that has bottomBar and a container for nested (screens that open by tapping on a tab) screens
• when navigating to a screen from a nested one, change screen in the root container