title: How to link navigation view with fragment back stack?
body: <p>I have an activity with a <code>NavigationView</code> from the support design library and a <code>fragment</code>.</p>
  
  <p>When I click on a <code>MenuItem</code> from the <code>NavigationView</code>, the <code>Fragment</code> is replaced by another which is added to the back stack.</p>
  
  <p>When I click on the back button, I pop the last <code>Fragment</code> from the back stack. But, the selected <code>MenuItem</code> in the <code>NavigationView</code>, is still the same.</p>
  
  <p>What is the best way to link the back stack with my <code>NavigationView</code> to have a consistent UI?</p>
  
  <p>Thank you!</p>