title: Get context directly in PagerAdapter?
body: <p>I need to use <code>PackageManager pm = context.getPackageManager();</code> inside a PagerAdapter but I don't know how to get a context.</p>
  
  <pre><code>public class MyPagerAdapter extends PagerAdapter {
       ...
       }
  </code></pre>
  
  <p>How can context inside PagerAdapter?</p>