title: ViewPager OnItemClickListener
body: <p>I'm new to Viewpager, and after reading <a href="http://developer.android.com/reference/android/support/v4/view/ViewPager.html">http://developer.android.com/reference/android/support/v4/view/ViewPager.html</a> from google, I can't seem to find anything related on <code>viewPager.setOnItemClickListener(new OnItemClickListener() {</code> Do we have other options to act as Item Clicked?</p>
  
  <p><strong>Testing out</strong></p>
  
  <pre><code>viewPager.setOnItemClickListener(new OnItemClickListener() {
              @Override
              public void onItemClick(AdapterView&lt;?&gt; parent, View view,
                      int position, long id) {
                  Intent i = new Intent(MainActivity.this, SingleItemView.class);
                  i.putExtra("flag", flag);
                  i.putExtra("position", position);
                  startActivity(i);
              }
  
          });
  </code></pre>
  
  <p>Error : 
  The method setOnItemClickListener(new AdapterView.OnItemClickListener(){}) is undefined for the type ViewPager</p>