title: How to set a specific tab when opening a Sliding Tab Layout activity?
body: <p>I tried this <a href="http://www.android4devs.com/2015/01/how-to-make-material-design-sliding-tabs.html" rel="noreferrer">tutorial</a> and it works great, but now I would like to know if it is possible, when opening the application, to go directly to a specific tab and not the first one (at left) by default ? </p>
  
  <p>Ex : I would like the application to open directly on "events" tab :</p>
  
  <p><img src="https://i.stack.imgur.com/ZdZxM.png" alt="enter image description here"></p>
  
  <p>I searched into the code, but didn't find anything relevant.</p>
  
  <p>Thanks folks</p>
  
  <p><strong>EDIT :</strong>
  Here is the way :
  Just add <code>pager.setCurrentItem(1);</code> in your MainActivity (the tabs container).</p>