title: How to launch activity and show specific fragment
body: <p>I have a MainActivity that has several fragments which are added and then shown/hidden. This is because the MainActivity uses a <code>NavigationDrawer</code>. Clicking on items in the drawer causes different fragments to be added (if they do not exist), or shown/hidden if they do.</p>
  
  <p>My question is, how can I launch my MainActivity via an intent from a different activity, and at the same time show a specific fragment?</p>
  
  <p>Would I have to pass some extra to my MainActivity and then based on that data, add/show/hide the relevant fragment? Is there another way?</p>