title: How to manage navigationBar as Instagram does?
body: <p>Hello I've been struggling with this issue</p>
  <p>Using fragment manager I add &quot;addToBackStack(null)&quot;, then sometimes when I press back, it jump from one section of the navigation bar to another, instead of going to the parent fragment hierarchy.</p>
  <p>What I was looking was something like this</p>
  <p>In which, when you go from 3, to 2b, and then you press back, instead of going to 3, you go back to 2a. Just like instagram does
  <a href="https://i.stack.imgur.com/A92No.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/A92No.png" alt="enter image description here" /></a></p>
  <p>How can this be achieved?</p>
  <p>Thank you</p>