title: Cannot resolve symbol 'ViewPagerAdapter'
body: <p>This line </p>
  
  <pre><code> ViewPagerAdapter adapter = new ViewPagerAdapter(getSupportFragmentManager());
  </code></pre>
  
  <p>Throws this error</p>
  
  <blockquote>
    <p>Cannot resolve symbol 'ViewPagerAdapter'</p>
  </blockquote>
  
  <p>Even though I have imported required library </p>
  
  <pre><code>import android.support.v4.view.ViewPager;
  </code></pre>
  
  <p>And have compiled the right version</p>
  
  <pre><code>compile 'com.android.support:support-v4:25.0.0'
  </code></pre>
  
  <p>SO has many suggestion to resolve this error, but I believe I have attempted them all including rebuilding, cleaning, and invalidating caches and restarting.</p>