title: Android ViewPager with zoomable ImageView
body: <p>I've got a ViewPager made by ImageViews implemented like this:</p>
  
  <pre><code>@Override
      public Object instantiateItem(View collection, int position) {
          ImageView iv = new ImageView(ctx);
          if (pageList.size() &gt; position)
              iv.setImageBitmap(pageList.get(position));
          else
              iv.setImageResource(R.drawable.loading);
  
          iv.setOnTouchListener(this);
          ((ViewPager) collection).addView(iv, 0);
          System.out.println("POS: " + position);
          return iv;
      }
  </code></pre>
  
  <p>Any chance i can have that ImageView zoomable by double tap (and swipe the image) or pinch zoomable?</p>